Chapter 8: Processes
See what is running, control jobs and signals, and judge and tune how processes share the machine.
What you will learn
- Explain processes, PIDs and states, and list and trace them with ps, pstree and /proc.
- Run commands in the background and control them with jobs, fg, bg and nohup.
- Send signals with kill, pkill and killall, and end processes safely with the right escalation.
- Read load average, top and free, change priority with nice and renice, and select a tuned profile.
Sections
- What a process is
- Exercise: Find your way around the process table
- Jobs and the background
- Exercise: Juggle jobs in one terminal
- Signals and ending processes
- Exercise: Stop a runaway process the right way
- Monitoring load and setting priorities
- Exercise: Find the slowdown and tune the server
- Exercise: Processes review
- Linux processes quiz
- Linux processes cheat sheet