Understanding Processes: `ps`, `top`, `htop`
Explore commands to view, monitor, and understand active processes on your Linux system.
What Are Processes?
Welcome! In this lesson, we'll explore how to view and monitor programs running on your Linux system. These running programs are called processes.
Understanding processes is crucial for system administration, troubleshooting, and managing resource usage.
`ps`: Snapshot of Processes
The simplest way to see active processes is with the ps command. It gives you a snapshot of current processes.
By default, ps shows processes owned by your user in the current terminal session.
psAll lessons in this course
- Understanding Processes: `ps`, `top`, `htop`
- Managing Processes: `kill`, `bg`, `fg`
- Monitoring System Resources: `df`, `du`, `free`
- Process Priorities with nice, renice, and Signals