System MonitoringLesson 24Free preview
Bash Process Status (ps)
This lesson is part of Bash · All levels
Summary
The ps command displays a list of processes running along with PID and status. With the aux or -ef option you see the entire process in the system, whereas the argumentless ps only displays the process in that terminal session. PID information from the ps is used as the kill command input.
Key points
- PS displays process snapshots while running
- PS aux uses the BSD format
- Ps-ef is using the System V format
- Mixed with grep to find a specific process
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.