Diagnose Linux process and resource problems
8 steps · about 3 h 55 min · Intermediate
- Take a process snapshot (reference, Linux man-pages project, 30 min)
Select stable fields for identity, parentage, state, CPU time and memory.
- Observe change over time (reference, Linux man-pages project, 30 min)
Separate a brief spike from sustained CPU or memory pressure.
- Interpret memory availability (reference, Linux man-pages project, 25 min)
Account for cache and available memory instead of treating all used memory as a leak.
- Find the right process safely (reference, Linux man-pages project, 25 min)
Match explicit attributes and verify identifiers before acting on them.
- Check program identities (reference, Linux man-pages project, 20 min)
Relate executable names to process identifiers while recognising scripts and namespaces.
- Inspect open resources (reference, Linux man-pages project, 35 min)
Find files, sockets and devices that explain locks, traffic or failed cleanup.
- Trace system calls (reference, Linux man-pages project, 40 min)
Observe where a process waits or fails while keeping tracing scope and overhead controlled.
- Signal with minimal disruption (reference, Linux man-pages project, 30 min)
Request orderly termination first, confirm the result, and escalate only when necessary.