CPU activity reporting tool

CPU activity reporting tool

Post by Sam » Thu, 28 Oct 1999 04:00:00



Hi all,

It looks like Vmstat /sar/top  are reporting inconsistent results with regds
to CPU activity(Busy/Idle time).

For eg , I tried the following (one immediately after the Other)  to
determine how Busy are the CPUs ..

heron# vmstat -S 5 5
 procs     memory            page            disk          faults      cpu
 r b w   swap  free  si  so pi po fr de sr s1 s1 s3 s3   in   sy   cs us sy
id
 0 1 0  16752 17872   0   0 65  6 13  0  1  1  1  0  0  698 1078 1518 20  3
77
 0 0 0 5885296 203480 0   0  0  0  0  0  0  1  1  0  0  795 1931 1739 33  3
64
 0 1 0 5885248 203424 0   0  0  0  0  0  0  0  0  0  0  787 2195 1756 35  3
62
 0 1 0 5885240 203416 0   0  0  0  0  0  0  0  0  0  0 1223 2761 2461 54  5
41
 1 0 0 5885224 203400 0   0  0  0  0  0  0  0  0  0  0 1088 2422 2316 44  4
52
heron# sar 5 5

SunOS heron 5.5.1 Generic_103640-24 sun4u    10/27/99

12:38:36    %usr    %sys    %wio   %idle
12:38:41      27       3      35      35
12:38:46      36       3      43      18
12:38:51      53       4      29      13
12:38:56      39       3      43      15
12:39:01      36       5      45      14

Average       38       4      39      19

heron# top
last pid: 19671;  load averages:  3.66,  4.12,  4.44
12:39:41
408 processes: 404 sleeping, 4 on cpu
Cpu states:  0.0% idle, 13.0% user, 26.1% kernel, 31.8% iowait, 29.1% swap
Memory: 2450M real, 101M free, 814M swap, 2941M free swap

The 'man' pages for the above commands claims the Same defn for the CPU
acitivity Reporting Columns(%idle) ..

Even 'mpstat' 's results doesnt seem to correlate with Vmstat or sar..

Which one do I believe on ?
Any inputs, appreciated.

Thanks

Sam

 
 
 

CPU activity reporting tool

Post by Martin Hepwort » Fri, 29 Oct 1999 04:00:00


Sam
Have a look through the Performance columns in www.sunworld.com for
indepth discussions on this and why things aren't consistent....

Martin


> Hi all,

> It looks like Vmstat /sar/top  are reporting inconsistent results with regds
> to CPU activity(Busy/Idle time).

> For eg , I tried the following (one immediately after the Other)  to
> determine how Busy are the CPUs ..

> heron# vmstat -S 5 5
>  procs     memory            page            disk          faults      cpu
>  r b w   swap  free  si  so pi po fr de sr s1 s1 s3 s3   in   sy   cs us sy
> id
>  0 1 0  16752 17872   0   0 65  6 13  0  1  1  1  0  0  698 1078 1518 20  3
> 77
>  0 0 0 5885296 203480 0   0  0  0  0  0  0  1  1  0  0  795 1931 1739 33  3
> 64
>  0 1 0 5885248 203424 0   0  0  0  0  0  0  0  0  0  0  787 2195 1756 35  3
> 62
>  0 1 0 5885240 203416 0   0  0  0  0  0  0  0  0  0  0 1223 2761 2461 54  5
> 41
>  1 0 0 5885224 203400 0   0  0  0  0  0  0  0  0  0  0 1088 2422 2316 44  4
> 52
> heron# sar 5 5

> SunOS heron 5.5.1 Generic_103640-24 sun4u    10/27/99

> 12:38:36    %usr    %sys    %wio   %idle
> 12:38:41      27       3      35      35
> 12:38:46      36       3      43      18
> 12:38:51      53       4      29      13
> 12:38:56      39       3      43      15
> 12:39:01      36       5      45      14

> Average       38       4      39      19

> heron# top
> last pid: 19671;  load averages:  3.66,  4.12,  4.44
> 12:39:41
> 408 processes: 404 sleeping, 4 on cpu
> Cpu states:  0.0% idle, 13.0% user, 26.1% kernel, 31.8% iowait, 29.1% swap
> Memory: 2450M real, 101M free, 814M swap, 2941M free swap

> The 'man' pages for the above commands claims the Same defn for the CPU
> acitivity Reporting Columns(%idle) ..

> Even 'mpstat' 's results doesnt seem to correlate with Vmstat or sar..

> Which one do I believe on ?
> Any inputs, appreciated.

> Thanks

> Sam


 
 
 

1. System Activity Report Tool

I just started using 'proctool'. It monitors most possible system
parameters, and has a nice graphical interface. It dumps core sometimes, but
I have not seen any bad effects of it.

Sun delivers a product called 'symon' which is much more advanced, using
client server approach for monitoring system SW and HW. However when we
tried to put it to use (Solaris 2.6) it ended up leaking memory, so we had
to take it away for the time being.


2. iVisit for Linux is a possibility (or Wanted: Linux Developer)

3. tool for reporting the CPU tempreture?

4. softirq bugs in pre2

5. Database Reporting Tool e.g. Crystal Report

6. lpstat problem?

7. System Activity Reporting (SAR)

8. Settings - Taxan MV789LR Monitor with Matrox Mystique and XFree86

9. Is there a "System Activity Report"?

10. Disk Activity Reporting in Topas

11. SYSTEM ACTIVITY REPORT suggests performance degradation

12. system activity report

13. analyze cpu-activities