mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
3c56b7b342
- standardize examples to use generic tokens - format tokens using snake_case - use "show" for all example descriptions, for consistency - reword the descriptions for additional clarity.
24 lines
483 B
Markdown
24 lines
483 B
Markdown
# top
|
|
|
|
> Display dynamic real-time information about running processes.
|
|
|
|
- Start top:
|
|
|
|
`top`
|
|
|
|
- Do not show any idle or zombie processes:
|
|
|
|
`top -i`
|
|
|
|
- Show only processes owned by given user:
|
|
|
|
`top -u {{user_name}}`
|
|
|
|
- Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name):
|
|
|
|
`top -p $(pgrep -d ',' {{process_name}})`
|
|
|
|
- Get help about interactive commands:
|
|
|
|
`?`
|