title: SSH bash script to test if java process is running?
body: <p>I need to create a SSH BASH script (on Debian linux) to test if 'java' process is running.</p>
  
  <p>Here how it should look like:</p>
  
  <pre><code>IF 'java' process is not running  THEN run ./start.sh
  </code></pre>
  
  <p>to test if java process is running, I can make this test:</p>
  
  <pre><code>ps -A | grep java
  </code></pre>
  
  <p>This script should run every minute (I guess in a CRON)</p>
  
  <p>Regards</p>