mirror of https://github.com/CrimsonTome/tldr.git
Added top command for Linux and OSX
parent
6f11b8fedc
commit
3da7f5cc0c
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,23 @@
|
|||
# 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}}`
|
||||
|
||||
- Run top in batch (logging) mode and update information 5 times
|
||||
|
||||
`top -b -n 5`
|
||||
|
||||
- Get help about interactive commands
|
||||
|
||||
`?`
|
|
@ -0,0 +1,27 @@
|
|||
# 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}}`
|
||||
|
||||
- Run top in logging (batch) mode and update information 5 times
|
||||
|
||||
`top -l 5`
|
||||
|
||||
- Get help about interactive commands
|
||||
|
||||
`?`
|
Loading…
Reference in New Issue