Wiki

by yszheda

View project onGitHub

Manipulating Processes Symbolically with procps

skill

send signals to processes by name, terminal, username, or PID.

e.g.

$ skill -STOP pts/2
# release from the grip of sleeping death
$ skill -CONT pts/2

pkill

more formal paramters than ``skill``.

e.g.

$ skill -KILL rob bash
# is equivalent to
$ pkill -KILL -u rob bash

snice

renice processes.

Note: the process whose nice value is the lower has the higher priority.

e.g.

$ snice +5 luser

pgrep

print matching PID(s).

e.g.

$ pgrep httpd

vmstat

measurement of virtual memory and cpu statistics.