2015-11-24 15:37:43 +02:00
|
|
|
# top
|
|
|
|
|
|
|
|
> Display dynamic real-time information about running processes.
|
2024-01-31 07:20:27 -03:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/top.1.html>.
|
2015-11-24 15:37:43 +02:00
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start `top`, all options are available in the interface:
|
2015-11-24 15:37:43 +02:00
|
|
|
|
|
|
|
`top`
|
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start `top` sorting processes by internal memory size (default order - process ID):
|
2015-11-24 15:37:43 +02:00
|
|
|
|
|
|
|
`top -o mem`
|
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start `top` sorting processes first by CPU, then by running time:
|
2015-11-24 15:37:43 +02:00
|
|
|
|
|
|
|
`top -o cpu -O time`
|
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start `top` displaying only processes owned by given user:
|
2015-11-24 15:37:43 +02:00
|
|
|
|
2016-07-23 01:54:06 +05:30
|
|
|
`top -user {{user_name}}`
|
2015-11-24 15:37:43 +02:00
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display help about interactive commands:
|
2015-11-24 15:37:43 +02:00
|
|
|
|
|
|
|
`?`
|