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
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`htop {{[-u|--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:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`htop {{[-t|--tree]}}`
|
2024-07-25 23:18:53 +05:30
|
|
|
|
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
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`htop {{[-s|--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):
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`htop {{[-d|--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
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`<?>`
|
2021-06-29 21:33:50 +01:00
|
|
|
|
2022-07-02 21:54:42 +01:00
|
|
|
- Switch to a different tab:
|
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`<Tab>`
|
2022-07-02 21:54:42 +01:00
|
|
|
|
2021-06-29 21:33:50 +01:00
|
|
|
- Display help:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`htop {{[-h|--help]}}`
|