Linux System Administration

0 of 85 lessons complete (0%)

Managing Processes

Process Status

You don’t have access to this lesson

Please register or sign in to access the course content.

In this lesson, we will learn how to check the status of running processes.

Checking Process Status with ps

The ps command is used to provide information about currently running processes.

ps aux
  • a: Show processes for all users.
  • u: Display detailed information.
  • x: Include processes not attached to a terminal.

Viewing Process Tree with pstree

The pstree command displays running processes in a tree format.

pstree

Monitoring Processes with top

The top command provides real-time system statistics, including CPU and memory usage.

top