2014-02-17 15:57:16 +00:00
|
|
|
# prstat
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Report active process statistics.
|
2014-02-17 15:57:16 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Examine all processes and reports statistics sorted by CPU usage:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`prstat`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Examine all processes and reports statistics sorted by memory usage:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`prstat -s rss`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Report total usage summary for each user:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`prstat -t`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Report microstate process accounting information:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`prstat -m`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print out a list of top 5 cpu using processes every second:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
2015-10-28 08:33:06 +00:00
|
|
|
`prstat -c -n 5 -s cpu 1`
|