Missing %CPU time from prstat compared to sar -u/vmstat

We encountered a very weird problem whereby the %CPU in prstat is very different from the %usr + %sys + %wio in sar -u command or the %usr + %sys in vmstat command.

Further checking on the sar -u report shows that 65% of the CPU is utilized even though during the non-peak hours. When we compared it with the prstat, we could not find any processes with high CPU utilization.

Please help to solve this weird problem.

Please refer report at below.

prstat command report

Sat Jul 1 00:10:00 WIT 2006

PID USERNAME SIZERSS STATE PRI NICETIME CPU PROCESS/NLWP

25339 root1080K 776K run000:00:00 0.1% sh/1

25336 root1080K 776K sleep100:00:00 0.1% sh/1

15842 root1274M 885M sleep29102:38:16 0.1% java/65

25326 root1080K 776K sleep2100:00:00 0.0% sh/1

25358 root1568K 1280K cpu1000:00:00 0.0% prstat/1

25356 srsnet3368K 1664K cpu0000:00:00 0.0% cron/1

187 root2296K 1136K run000:01:43 0.0% cron/1

25331 root1080K 720K sleep000:00:00 0.0% sh/1

28966 root178M68M sleep29100:04:46 0.0% java/44

25346 root1088K 688K sleep000:00:00 0.0% tail/1

Total: 72 processes, 599 lwps, load averages: 0.02, 0.12, 0.12

Sat Jul 1 00:20:00 WIT 2006

PID USERNAME SIZERSS STATE PRI NICETIME CPU PROCESS/NLWP

17591 root1328M 978M sleep2910 11:16:32 0.1% java/99

25825 srsnet1080K 784K sleep020:00:00 0.1% sh/1

25820 root1080K 776K sleep000:00:00 0.1% sh/1

15842 root1274M 885M sleep29102:38:17 0.1% java/65

17177 root1335M 1195M sleep2910 29:56:24 0.1% java/104

28966 root178M68M sleep29100:04:46 0.0% java/44

25824 root1080K 776K sleep000:00:00 0.0% sh/1

187 root2296K 1136K sleep000:01:43 0.0% cron/1

25831 root1552K 1264K cpu1000:00:00 0.0% prstat/1

28737 root200M86M sleep29100:07:07 0.0% java/56

Total: 61 processes, 596 lwps, load averages: 0.02, 0.12, 0.13

Sar command Report

Sat Jul 1 00:05:00 WIT 2006

SunOS DCWEBFES01 5.9 Generic_117171-05 sun4u07/01/2006

00:05:00%usr%sys%wio%idle

00:05:01643600

00:05:02871300

00:05:0395500

00:05:0492800

00:05:0593700

00:05:0695500

00:05:07624034

00:05:09104086

00:05:1012097

00:05:1121196

Average609031

Sat Jul 1 00:15:00 WIT 2006

SunOS DCWEBFES01 5.9 Generic_117171-05 sun4u07/01/2006

00:15:00%usr%sys%wio%idle

00:15:01663400

00:15:02901000

00:15:0393700

00:15:0483908

00:15:0695500

00:15:07891100

00:15:08813016

00:15:0901198

00:15:1001099

00:15:1101099

Average608032

Sat Jul 1 00:25:00 WIT 2006

SunOS DCWEBFES01 5.9 Generic_117171-05 sun4u07/01/2006

00:25:00%usr%sys%wio%idle

00:25:01643600

00:25:02891001

00:25:0393700

00:25:0494303

00:25:0594600

00:25:06901000

00:25:07645031

00:25:0801099

00:25:0901099

00:25:1001099

Average598033

Message was edited by:

ckchongSunSupport

[3096 byte] By [ckchongSunSupport] at [2007-11-26 9:40:28]
# 1
What arguments are you using with sar?prstart & sar are not specific to predictive self-healing. A general Solaris forum wouldbe a better place for this discussion.
davidbustos@suncom at 2007-7-7 0:37:37 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Hi david, thank you for you advice. Now i already move the topic to Sun Solaris OS Forum. i will closed this topic.Thank you.
ckchongSunSupport at 2007-7-7 0:37:38 > top of Java-index,Solaris Operating System,Solaris 10 Features...