top command
The top command, which shows a live, regularly refreshed list of processes sorted by CPU use.
In more detail
Press q to leave it. It is for watching a machine by eye; for a script, run ps once and sort its output.
Related terms
- ps — The command that lists running processes with details such as process ID, CPU use and command name.
- uptime — The command that shows how long the machine has been running, how many users are logged in and the load averages.
- CPU — The chip in a computer that runs program instructions; a machine can have several.
Taught in
- Processes, Jobs And Signals — Bash Scripting & Command Line Automation
- It Is Slow, Says Everyone: CPU, Memory, Disk And Network Bottlenecks — CompTIA Linux+ (XK0-006) Exam Prep