Sometimes you may need to temporarily pause a process in Linux, to resume it at a later time. Here’s how to suspend and resume a process.
First, to view a list of all running processes, use the ps command :
~$ ps aux
This will display a list of all running processes, including the process ID number (PID). Take a note of the PID of the process you want to pause, and type:
~$ kill -STOP 1022
The process will then we paused.
To resume the process again, use the command:
~$ kill -CONT 1022