Processes and signals
Take control of processes: find the one you need, stop it with a signal, lower its priority and keep a daemon from going down.
- pgrep: PID by nameeasy
- Count sleep processeseasy
- How many processes postman haseasy
- /proc: a process's command linemedium
- How a container isolates processesinterview questionmedium
- Background process with nohupmedium
- nice: process prioritymedium
- kill: graceful terminationeasy
- pkill: kill by patterneasy
- Who ate the CPUmedium
- timeout: limit the timeeasy
- trap: cleanup on exitmedium
- kill -9 vs kill -15interview questioneasy
- Catch a signal with trapmedium
- A pidfile for the preview servicemedium
- The old instance didn't give up the portmedium
- Background jobs: wait and exit codesmedium
- A pidfile from a dead processeasy
- The exporter hung and ignores TERMmedium
- supervisor brings a crashed daemon backmedium
- Two daemons and a graceful stopmedium
- A zombie under a queue workerhard