top
Dynamically displays process status
top [options]
The top utility displays information about the status of your GNU/Linux system, including information about all the current processes. This utility is similar to ps but periodically updates the display, enabling you to watch the behavior of your system over time.
Options
Although top does not require the use of hyphens with options, it is a good idea to include them for clarity and consistency.
-dn
Specify n as the delay from one display update to the next. The default is 5 seconds.
-nn
Number of updates: top updates the display n times and exits.
-q
Runs top without any delay. When Superuser uses this option, top runs at the highest priority.
-s
Runs top in Secure mode. This restricts the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access