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