title: How to Pause/Resume a process in Linux
body: <p>I record my program until it closes.</p>
  
  <p>Start Command:</p>
  
  <pre><code>cvlc screen:// --screen-left=0 --screen-top=0 --screen-width=1280 --screen-height=960 --screen-fps=30 \
  --sout '#transcode{vcodec=mp2v, vb=800, scale=1, acodec=none}:file{mux=ts, dst=your_video_path_to_be_saved}'
  </code></pre>
  
  <p>Stop Command:</p>
  
  <pre><code>kill -9 pgrep vlc
  </code></pre>
  
  <p>That works well, now I need to implement pause method to this program. I need to kill program at pause method then start it on resume method and append new video to older one. How can i do it?</p>
  
  <p><a href="https://wiki.videolan.org/How_to_Merge_and_Transcode_Multiple_Videos/" rel="noreferrer">VLC Wiki: Merge</a></p>