Search This Blog

Suspend/Resume a process by sending SIGSTOP/SIGCONT signals

  • To suspend the process:
    kill -SIGSTOP 123
    
  • To resume the process:
    kill -SIGCONT 123
    

Note:

On some systems, you may need to use following commands:

  • To suspend the process:
    kill -STOP 123
    
  • To resume the process:
    kill -CONT 123
    
  • To list the available signals:
    kill -l
    



No comments:

Post a Comment