snippetbashTip
prstat — Report active process statistics. More information: <https://www.unix.com/man-page/sunos/1m/prstat>.
Viewed 0 times
commandreportprocesscliactivestatisticsprstatmore
linux
Problem
How to use the
prstat command: Report active process statistics. More information: <https://www.unix.com/man-page/sunos/1m/prstat>.Solution
prstat — Report active process statistics. More information: <https://www.unix.com/man-page/sunos/1m/prstat>.Examine all processes and reports statistics sorted by CPU usage:
prstatExamine all processes and reports statistics sorted by memory usage:
prstat -s rssReport total usage summary for each user:
prstat -tReport microstate process accounting information:
prstat -mPrint out a list of top 5 CPU using processes every second:
prstat -c -n 5 -s cpu 1Code Snippets
Examine all processes and reports statistics sorted by CPU usage
prstatExamine all processes and reports statistics sorted by memory usage
prstat -s rssReport total usage summary for each user
prstat -tReport microstate process accounting information
prstat -mPrint out a list of top 5 CPU using processes every second
prstat -c -n 5 -s cpu 1Context
tldr-pages: sunos/prstat
Revisions (0)
No revisions yet.