mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 09:58:09 +00:00
Update cheatsheets
This commit is contained in:
37
htop
Normal file
37
htop
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# htop
|
||||
|
||||
> Display dynamic real-time information about running processes. An enhanced version of `top`.
|
||||
> More information: <https://htop.dev/>.
|
||||
|
||||
- Start `htop`:
|
||||
|
||||
`htop`
|
||||
|
||||
- Start `htop` displaying processes owned by a specific user:
|
||||
|
||||
`htop --user {{username}}`
|
||||
|
||||
- Sort processes by a specified `sort_item` (use `htop --sort help` for available options):
|
||||
|
||||
`htop --sort {{sort_item}}`
|
||||
|
||||
- Start `htop` with the specified delay between updates, in tenths of a second (i.e. 50 = 5 seconds):
|
||||
|
||||
`htop --delay {{50}}`
|
||||
|
||||
- See interactive commands while running htop:
|
||||
|
||||
`?`
|
||||
|
||||
- Switch to a different tab:
|
||||
|
||||
`tab`
|
||||
|
||||
- Display help:
|
||||
|
||||
`htop --help`
|
||||
Reference in New Issue
Block a user