Added top command for Linux and OSX

waldyrious/alt-syntax
Igor Shubovych 2015-11-24 15:37:43 +02:00
parent 6f11b8fedc
commit 3da7f5cc0c
3 changed files with 51 additions and 1 deletions

File diff suppressed because one or more lines are too long

23
pages/linux/top.md Normal file
View File

@ -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
`?`

27
pages/osx/top.md Normal file
View File

@ -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
`?`