Linux Process Management
Understanding processes is crucial for system administration.
Process States
- Running (R) - Currently executing
- Sleeping (S) - Waiting for event
- Stopped (T) - Suspended
- Zombie (Z) - Terminated but not reaped
Process Commands
# View processes
ps aux
# Kill process
kill -9 PID
# Nice value (priority)
nice -n 10 command
renice -n 5 -p PID
{# Provenance for articles generated from a source document. Rendered
here rather than stored in the body so it stays accurate and cannot
be edited away, and so the sealed draft stays purely generated. #}
Discussion 0
No comments yet. Be the first to start the discussion!
Leave a Comment