2015-11-24 16:37:43 +03:00
# top
> Display dynamic real-time information about running processes.
2016-01-07 20:31:27 +03:00
- Start top:
2015-11-24 16:37:43 +03:00
`top`
2016-06-22 14:05:00 +03:00
- Do not show any idle or zombie processes:
2015-11-24 16:37:43 +03:00
`top -i`
2016-06-22 21:02:12 +03:00
- Show only processes owned by given user:
2015-11-24 16:37:43 +03:00
2016-06-22 21:02:12 +03:00
`top -u {{user_name}}`
2015-11-24 16:37:43 +03:00
2016-06-22 21:02:12 +03:00
- Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name):
2016-06-22 14:05:00 +03:00
2016-06-22 21:02:12 +03:00
`top -p $(pgrep -d ',' {{process_name}})`
2016-06-22 14:05:00 +03:00
2016-01-07 20:31:27 +03:00
- Get help about interactive commands:
2015-11-24 16:37:43 +03:00
`?`