Sleep and Resume Unix Processes

From SnOwy - Ed's Wiki Notebook

Jump to: navigation, search

First, get the PID

ps -U <username> | grep <executable_name>

The above will return the pid of all processes launched given the executable (binary) name.

Making a process sleep

kill -s STOP <pid>

The process corresponding to the pid is paused.

Resuming a process

kill -s CONT <pid>

The process corresponding to the pid is resumed.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox