Beginner
Package: procps
top
Interactive, real-time process viewer.
Syntax
top
Description
top displays a continuously updating list of processes sorted by resource usage, along with overall CPU, memory and load summaries, and lets you sort, kill or renice processes interactively without leaving the screen.
Examples
top
Launch the interactive process viewer
top -u www-data
Show only processes owned by a specific user
top -o %CPU
Sort the process list by CPU usage
htop is a popular, more user-friendly alternative available in most repositories.
Applies to
Put it into practice