tldr/pages/common/htop.md

37 lines
736 B
Markdown
Raw Normal View History

2016-06-21 22:57:58 +01:00
# htop
> Display dynamic real-time information about running processes. An enhanced version of `top`.
> More information: <https://htop.dev/>.
2016-06-21 22:57:58 +01:00
- Start `htop`:
2016-06-21 22:57:58 +01:00
`htop`
- Start `htop` displaying processes owned by a specific user:
2016-06-21 22:57:58 +01:00
2021-07-27 11:17:16 +01:00
`htop --user {{username}}`
2016-06-21 22:57:58 +01:00
2024-07-25 18:48:53 +01:00
- Display processes hierarchically in a tree view to show the parent-child relationships:
`htop --tree`
- Sort processes by a specified `sort_item` (use `htop --sort help` for available options):
2020-06-29 21:23:52 +01:00
`htop --sort {{sort_item}}`
2020-06-29 21:23:52 +01:00
- Start `htop` with the specified delay between updates, in tenths of a second (i.e. 50 = 5 seconds):
2023-09-11 20:15:05 +01:00
`htop --delay {{50}}`
- See interactive commands while running htop:
2016-06-21 22:57:58 +01:00
`?`
2022-07-02 21:54:42 +01:00
- Switch to a different tab:
`tab`
- Display help:
`htop --help`