mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 19:42:38 +00:00
30 lines
633 B
Plaintext
30 lines
633 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# top
|
|
|
|
> Display dynamic real-time information about running processes.
|
|
> More information: <https://keith.github.io/xcode-man-pages/top.1.html>.
|
|
|
|
- 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}}`
|
|
|
|
- Display help about interactive commands:
|
|
|
|
`?`
|