2015-11-24 13:37:43 +00:00
|
|
|
# top
|
|
|
|
|
|
|
|
> Display dynamic real-time information about running processes.
|
2022-01-14 12:59:47 +00:00
|
|
|
> More information: <https://ss64.com/osx/top.html>.
|
2015-11-24 13:37:43 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Start top, all options are available in the interface:
|
2015-11-24 13:37:43 +00:00
|
|
|
|
|
|
|
`top`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Start top sorting processes by internal memory size (default order - process ID):
|
2015-11-24 13:37:43 +00:00
|
|
|
|
|
|
|
`top -o mem`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Start top sorting processes first by CPU, then by running time:
|
2015-11-24 13:37:43 +00:00
|
|
|
|
|
|
|
`top -o cpu -O time`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Start top displaying only processes owned by given user:
|
2015-11-24 13:37:43 +00:00
|
|
|
|
2016-07-22 21:24:06 +01:00
|
|
|
`top -user {{user_name}}`
|
2015-11-24 13:37:43 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Get help about interactive commands:
|
2015-11-24 13:37:43 +00:00
|
|
|
|
|
|
|
`?`
|