Part I. process management

Table of Contents

1. introduction to processes
terminology
process
PID
PPID
init
kill
daemon
zombie
basic process management
$$ and $PPID
pidof
parent and child
fork and exec
exec
ps
pgrep
top
signalling processes
kill
list signals
kill -1 (SIGHUP)
kill -15 (SIGTERM)
kill -9 (SIGKILL)
SIGSTOP and SIGCONT
pkill
killall
killall5
top
practice : basic process management
solution : basic process management
2. process priorities
priority and nice values
introduction
pipes (mkfifo)
some fun with cat
top
top -p
renice
impact of nice values
nice
practice : process priorities
solution : process priorities
3. background jobs
background processes
jobs
control-Z
& ampersand
jobs -p
fg
bg
practice : background processes
solution : background processes