Skip to main content

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

SignalNumberEffect
SIGTERM15Graceful termination
SIGKILL9Force kill (cannot be caught)
SIGHUP1Reload configuration