Process Management & System Monitoring
Learn how Linux manages execution threads, background jobs, process identifiers (PIDs), and resource consumption using `ps`, `top`, and `kill`.
Lesson Objectives
3 Steps1Step 1: View Snapshot of Running Processes
Run `ps aux` to list all running system processes with user, PID, CPU, and memory metrics.
2Step 2: Launch Real-Time Monitor
Run `top` to view live CPU load averages and task states.
3Step 3: Inspect Memory Usage
Run `free -h` to see total, used, and available RAM in human-readable megabytes and gigabytes.
💡 Pro Tip:
Use `ps aux | grep <process_name>` to quickly identify the PID of a specific background service.
bash — terminal
AST Sandbox (Free)