Process Management
Understanding and controlling running processes on Linux.
Key Commands
ps aux # List all processes
top / htop # Interactive process viewer
kill <pid> # Send signal to process
kill -9 <pid> # Force kill
systemctl status nginx # Service status
journalctl -u nginx -f # Service logs
Signals
| Signal | Number | Effect |
|---|---|---|
| SIGTERM | 15 | Graceful termination |
| SIGKILL | 9 | Force kill (cannot be caught) |
| SIGHUP | 1 | Reload configuration |