1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 23:55:26 +02:00
tldr/pages/common/htop.md

37 lines
785 B
Markdown
Raw Normal View History

2016-06-21 17:57:58 -04:00
# htop
> Display dynamic real-time information about running processes. An enhanced version of `top`.
> More information: <https://htop.dev/>.
2016-06-21 17:57:58 -04:00
- Start `htop`:
2016-06-21 17:57:58 -04:00
`htop`
- Start `htop` displaying processes owned by a specific user:
2016-06-21 17:57:58 -04: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:
`htop {{[-t|--tree]}}`
2024-07-25 23:18:53 +05:30
- Sort processes by a specified `sort_item` (use `htop --sort help` for available options):
2020-06-29 23:23:52 +03:00
`htop {{[-s|--sort]}} {{sort_item}}`
2020-06-29 23:23:52 +03:00
- Start `htop` with the specified delay between updates, in tenths of a second (i.e. 50 = 5 seconds):
`htop {{[-d|--delay]}} {{50}}`
- See interactive commands while running htop:
2016-06-21 17:57:58 -04:00
`<?>`
2022-07-02 21:54:42 +01:00
- Switch to a different tab:
`<Tab>`
2022-07-02 21:54:42 +01:00
- Display help:
`htop {{[-h|--help]}}`