title: nohup error no such file or directory
body: <p>I am trying to run a string of <code>nohup</code> commands to get server statistics.
  However I get an error of <em>'No such file or directory'</em>. Note that the 3 <code>nohup</code> calls are embedded in a script which is executed through a <code>cron</code> job. And the first <code>nohup</code> works but the other 2 return an error. Ironically enough, when run on a different server, the script works fine. </p>
  
  <ul>
  <li><p>Commands</p>
  
  <pre><code>nohup vmpstat -a -n 60 1000 &gt; myvmstats
  </code></pre></li>
  <li><p>(works)  </p>
  
  <pre><code>nohup mpstat -P ALL 1 1000 &gt; mympstats
  </code></pre></li>
  <li><p>(returns: nohup cannot run command <code>mpstat</code>: no such file or directory)</p>
  
  <pre><code>nohup iostat -t -x 60 1000 &gt;myiostats
  </code></pre></li>
  <li><p>(returns: nohup cannot run command <code>iostat</code>: no such file or directory) </p></li>
  </ul>
  
  <p>Any idea what's wrong?</p>