tldr/pages/osx/top.md

24 lines
457 B
Markdown
Raw Normal View History

2015-11-24 13:37:43 +00:00
# top
> Display dynamic real-time information about running processes.
- Start top, all options are available in the interface:
2015-11-24 13:37:43 +00:00
`top`
- Start top sorting processes by internal memory size (default order - process ID):
2015-11-24 13:37:43 +00:00
`top -o mem`
- Start top sorting processes first by CPU, then by running time:
2015-11-24 13:37:43 +00:00
`top -o cpu -O time`
- Start top displaying only processes owned by given user:
2015-11-24 13:37:43 +00:00
`top -user {{user_name}}`
2015-11-24 13:37:43 +00:00
- Get help about interactive commands:
2015-11-24 13:37:43 +00:00
`?`