prstat(1)

 We propose the following additional options for prstat:

  • -H option adds additional column showing home lgroup
  • -h lgroup_list only displays information about threads belonging to specified lgroups.

Example output:


$ prstat -H
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU LGRP PROCESS/NLWP  
100596 root     5884K 4804K sleep   59    0   0:11:20 0.1%    2 intrd/1
101504 akolb    3916K 3032K cpu3    59    0   0:00:00 0.0%    4 prstat/1
100631 root     2372K 1632K sleep   59    0   0:00:00 0.0%    4 devfsadm/6
100506 root     3504K 1376K sleep   59    0   0:00:00 0.0%    2 sshd/1
100567 root     1848K  740K sleep   59    0   0:00:00 0.0%    2 smcboot/1
100566 root     1852K 1296K sleep   59    0   0:00:00 0.0%    4 smcboot/1
100511 smmsp    7000K 1468K sleep   59    0   0:00:00 0.0%    2 sendmail/1
100477 root     3712K 2000K sleep   59    0   0:00:00 0.0%    2 syslogd/13
100510 root     7020K 2036K sleep   59    0   0:00:03 0.0%    3 sendmail/1
100772 root     1936K 1196K sleep   59    0   0:00:00 0.0%    1 in.rlogind/1
100470 root     6116K 5140K sleep   59    0   0:00:01 0.0%    1 fmd/12
100585 root     2552K 2024K sleep   59    0   0:00:00 0.0%    3 vold/6
100453 root     6928K 4436K sleep   59    0   0:00:04 0.0%    4 automountd/3
100134 daemon   3964K 2108K sleep   59    0   0:00:00 0.0%    1 kcfd/3
100386 daemon   2416K 1664K sleep   59    0   0:00:00 0.0%    3 nfsmapid/4
100292 root     1752K  968K sleep   59    0   0:00:00 0.0%    4 sac/1
100135 root     4276K 3400K sleep   59    0   0:00:06 0.0%    1 nscd/26
100006 root     9508K 8576K sleep   59    0   0:00:05 0.0%    1 svc.configd/16
100004 root     8900K 7920K sleep   59    0   0:00:03 0.0%    2 svc.startd/15
100044 root     1972K 1044K sleep   59    0   0:00:00 0.0%    2 dhcpagent/1

Total: 42 processes, 161 lwps, load averages: 0.01, 0.01, 0.01

Documents

Issues

  • Man page needs to explain purpose and contents of table at end of prstat -H output, what options don't work with -h and -H, etc..
  • Man page synopsis needs to include -h and -H
last modified by admin on 2009/10/26 12:29
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.