Added top command for Linux and OSX
This commit is contained in:
parent
4a11a4a170
commit
63472222b8
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