Files
tldr/pages/linux/top.md
T
Managor 5095ed04fd btm, top, htop, btop, glances, atop: refresh pages (#18366)
* Update btm.md

* Update top.md

* Update htop.md

* Update btop.md

* Update atop.md

* Update glances.md

* Update btm.md

* Update btop.md

* Update htop.md

* Update top.md

* Update pages/common/glances.md

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>

---------

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-10-04 14:28:10 -07:00

847 B

top

Display dynamic real-time information about running processes. See also: htop, atop, glances, btop, btm. More information: https://manned.org/top.

  • Start top:

top

  • Do not show any idle or zombie processes:

top {{[-i|--idle-toggle]}}

  • Show only processes owned by given user:

top {{[-u|--filter-only-euser]}} {{username}}

  • Sort processes by a field:

top {{[-o|--sort-override]}} {{field_name}}

  • Show the individual threads of a given process:

top {{[-Hp|--threads-show --pid]}} {{process_id}}

  • Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name):

top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{process_name}})

  • Display help about interactive commands:

<?>