SUMMARY: CPU idle time in Solaris 8

From: Bhavesh Shah <bshah_at_citadon.com>
Date: Fri Sep 03 2004 - 13:27:28 EDT
Hi Gurus,
Thanks a lot for clarifying. I got lots of responses and very much
thankful to you all. The list is very big but to mention a few:
Darren Dunham
DarrenProg
Bossdad1959
Tristan Ball
Wade A. Lich
David P

Thanks Guys you rules.
Summary is:
Vmstat does not take into account iowait while calculating cpu idle time
where as top and mpstat does. So whenever there is a high iowait, vmstat
and top will show different results.

My Original Question was:

Hi Gurus,

I have a basic question regarding CPU Idle time in Solaris 8. I am
running Solaris 8 on Ultra 10 Box.

When I checked the CPU idle time from top utility it shows 12% idle
which is correct but at the same time if I check it from vmstat utility
it shows 90% idle. Is it normal behavior or some issue with the U10 box?

Any help will be greatly appreciated.

TIA

B





procs     memory            page            disk          faults
cpu

 r b w   swap  free  re  mf pi po fr de sr dd dd f0 m0   in   sy   cs us
sy id

 0 0 0 2212456 185376 65 85 30  0  0  0  0  0  0  0 31 1177  989  408  4
4 91

 0 0 0 2212456 184568 34  0  0  0  0  0  0  0  0  0 29 1199  509  389  2
4 94

 0 0 0 2212456 183848 45  0  0  0  0  0  0  0  0  0 29 1215  594  395  2
5 93

 0 1 0 2212456 182864 68  0  0  0  0  0  0  0  0  0 41 1574  766  489  4
4 91

 0 0 0 2212456 181488 63  0 49  0  0  0  0  0  0  0 46 1700  776  524 12
4 84

 0 1 0 2212456 180296 58 21 17  0  0  0  0  0  4  0 41 1577  553  478  2
6 92



load averages:  0.20,  0.29,  0.27
16:04:38

78 processes:  75 sleeping, 2 running, 1 on cpu

CPU states: 12.7% idle,  2.0% user,  2.0% kernel, 83.3% iowait,  0.0%
swap

Memory: 1024M real, 163M free, 2048M swap free



  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND

10197 oracle    11  58    0    0K    0K sleep   2:45  2.22% oracle

10592 oracle     1  58    0 2168K 1416K cpu     0:01  0.94% top

27087 oracle     1  58    0    0K    0K sleep   1:02  0.54% oracle

 5751 oracle     1  58    0    0K    0K sleep   8:23  0.31% oracle

 5628 oracle    28  29   10  175M   80M run     9:56  0.16% java

 5647 oracle    11  58    0    0K    0K sleep   2:14  0.05% oracle

 5745 oracle     1  58    0    0K    0K sleep   3:55  0.04% oracle

 5743 oracle     1  58    0    0K    0K sleep   0:35  0.02% oracle

 5641 oracle     1  58    0    0K    0K sleep   0:05  0.02% oracle

12306 oracle    11  52    0    0K    0K sleep   7:00  0.01% oracle

 2704 oracle     6  58    0    0K    0K sleep   0:58  0.01% tnslsnr

    1 root       1  58    0  864K  344K sleep   0:14  0.01% init

 5649 oracle    11  59    0    0K    0K sleep   1:43  0.00% oracle

 5723 oracle     1  59    0    0K    0K sleep   0:35  0.00% oracle

 4641 oracle    13  58    0    0K    0K sleep  64:19  0.00% oracle
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Sep 3 13:27:23 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:37 EST