mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 11:35:45 +02:00
Merge branch 'top' of https://github.com/igorshubovych/tldr into igorshubovych-top
This commit is contained in:
commit
0bf7386116
3 changed files with 43 additions and 1 deletions
File diff suppressed because one or more lines are too long
19
pages/linux/top.md
Normal file
19
pages/linux/top.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# top
|
||||||
|
|
||||||
|
> Display dynamic real-time information about running processes.
|
||||||
|
|
||||||
|
- Start top
|
||||||
|
|
||||||
|
`top`
|
||||||
|
|
||||||
|
- Start top ignoring any idle or zombie processes
|
||||||
|
|
||||||
|
`top -i`
|
||||||
|
|
||||||
|
- Start top displaying only processes owned by given user
|
||||||
|
|
||||||
|
`top -u {{user-name}}`
|
||||||
|
|
||||||
|
- Get help about interactive commands
|
||||||
|
|
||||||
|
`?`
|
23
pages/osx/top.md
Normal file
23
pages/osx/top.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# top
|
||||||
|
|
||||||
|
> Display dynamic real-time information about running processes.
|
||||||
|
|
||||||
|
- Start top, all options are available in the interface
|
||||||
|
|
||||||
|
`top`
|
||||||
|
|
||||||
|
- Start top sorting processes by internal memory size (default order - process ID)
|
||||||
|
|
||||||
|
`top -o mem`
|
||||||
|
|
||||||
|
- Start top sorting processes first by CPU, then by running time
|
||||||
|
|
||||||
|
`top -o cpu -O time`
|
||||||
|
|
||||||
|
- Start top displaying only processes owned by given user
|
||||||
|
|
||||||
|
`top -user {{user-name}}`
|
||||||
|
|
||||||
|
- Get help about interactive commands
|
||||||
|
|
||||||
|
`?`
|
Loading…
Add table
Reference in a new issue