In many occasion we may need to stop and start a process temporarily for some reasons(for example stopping rsync process for some time if the system loads goes up). This can be done using the KILL command with the -STOP option and the same process can be started again using -CONT option. For example :
- # kill -STOP 10007 (10007 is the pid)
The above command will sends a signal requesting to block/stop the pid 10007. And the below command will sends a signal request to continue/restart the suspended process.
- # kill -CONT 10007 (10007 is the pid)