title: background process terminates after closing ssh client
body: <p>My question is same as the ones I already found on SO <a href="https://stackoverflow.com/questions/285015/linux-prevent-a-background-process-from-being-stopped-after-closing-ssh-client">here</a>, <a href="https://stackoverflow.com/questions/954302/how-to-make-a-programme-continue-to-run-after-log-out-from-ssh">here</a> and <a href="https://stackoverflow.com/questions/431521/run-a-command-in-a-shell-and-keep-running-the-command-when-you-close-the-session">here</a>. But, for me <code>nohup</code> doesn't work. compiling <code>screen</code> gives errors and for disown, Control+Z does not make the process "stopped".</p>
  
  <p>I run a data generation binary which writes data into a file and also prints status messages on the screen (stdout). I tried the following</p>
  
  <pre><code>nohup ./sp2b &lt;options for sp2b&gt; &gt; output &amp;
  </code></pre>
  
  <p>When I logout of the terminal and login back, the process is already killed. I actually would like to time it as well, so want to do</p>
  
  <pre><code>nohup time ./sp2b &lt;options for sp2b&gt; &gt; output &amp;
  </code></pre>
  
  <p>Why is nohup not working in my case?</p>