Matt Seymour

Within linux it is possible to pause (freeze) and start processes.

Before you can pause a process you need to know the process ID (pid). This can be done using the ps command.

ps -A | grep <process_name>
# a process might not be obviously named

The output will be something like:

matt@wasdy : ~
   [1510|09:10:52] $  ps -A | grep chrome
    2777 ?        00:01:14 chrome
    2790 ?        00:00:00 chrome
    2811 ?        00:00:00 chrome
    2827 ?        00:00:59 chrome
    2835 ?        00:00:00 chrome
    2842 ?        00:00:02 chrome
    2862 ?        00:00:03 chrome
    2874 ?        00:00:00 chrome
    2890 ?        00:00:00 chrome

What we are interested in is the first number this is the process ID which we will use pause and start the process.

Pausing a process

In the command line run the following command:

sudo kill -STOP <pid>

At this point your application will appear to stop working. Well the process is paused... duh

Re-starting a process

In the command line run the following command:

sudo kill -CONT <pid>