Strange sar output


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Strange sar output
# 1  
Strange sar output

I was reviewing yesterday's sar file and came across this strange output! What in the world? Any reason why there's output like that?

SunOS unixbox 5.10 Generic_144488-07 sun4v sparc SUNW,T5240 Solaris


Code:
00:00:58   device        %busy   avque   r+w/s  blks/s  avwait  avserv


11:20:01   vdc0             35     2.6      27    5292     0.0    96.1
           vdc1              0     0.0       0       0     0.0     0.0
           vdc2              0     0.0       0       0     0.0     0.0
           vdc3             66     3.0     230   52338     0.0    12.8
           vdc4             64     2.9     230   52361     0.0    12.4

11:40:02   vdc0             25     1.5      24    4464     0.0    63.1
           vdc1              0     0.0       0       0     0.0     0.0
           vdc2              0     0.0       0       0     0.0     0.1
           vdc3             58     2.4     214   48830     0.0    11.4
           vdc4             56     2.3     213   48821     0.0    11.0

12:00:52   vdc0             31     2.1      27    4906     0.0    77.9
           vdc1              0     0.0       0       0     0.0     0.0
           vdc2              0     0.0       0       0     0.0     0.0
           vdc3             61     2.5     215   48894     0.0    11.8
           vdc4             60     2.5     217   49059     0.0    11.4

12:40:02   vdc0         -24893 -1460.9 1773679 15026318146864    -0.0    -0.8
           vdc1           -533    -9.3 1790730 15026272364076    -0.0    -0.0
           vdc2           -421    -7.2 1790727 15026270415816    -0.0    -0.0
           vdc3              0     0.0       0       0     0.0    19.0
           vdc4              0     0.0       0       0     0.0    26.6

13:00:00   vdc0              6     0.4       5     697     0.0    84.5
           vdc1              0     0.0       0       0     0.0     0.0
           vdc2              0     0.0       0       0     0.0     0.0
           vdc3              0     0.0       0       0     0.0     0.0
           vdc4              0     0.0       0       0     0.0     0.0


Last edited by dangral; 03-25-2011 at 11:58 AM..
# 2  
It would help to know what those statistics are. But in general there are counters in the kernel that record interesting events. If the counter is at, say, 8000, at one time and then 8200 ten seconds later, we know that 200 things happened in the last 10 seconds. But what is the counter is a 16 bit counter and it is at 65000 at the first reading and then 125 ten seconds later? The counter rolled. This screws up the math.
# 3  
Thanks for your response. I edited the first post to include a header. What prompted my investigation of the sar files was, as you can see, long disk service times on vdc0.

I understand what you wrote about counter resets, but shouldn't the program take into account the integer boundaries? Anyway, I grepped through the rest of the sar files. This particular occurrence was the only example.
# 4  
Quote:
Originally Posted by dangral
I understand what you wrote about counter resets, but shouldn't the program take into account the integer boundaries?

Of course it should.
# 5  
Looks like bug 4716896 which doesn't seem to be fixed.
This User Gave Thanks to jlliagre For This Post:
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #474
Difficulty: Easy
Binary numbers are expressed in terms of a power of 2 instead of a power of 10.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Sar output

I am facing situation where sar -u command is showing 0 for all cps, so does it mean all the cpus are fully utilized, os is oracle Linux 6.8 01:34:13 PM all 0 0 0 0 0.00 0 (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. Solaris

Odd output from sar

We're experiencing some intermittent freezes on one of our systems and I'm trying to figure out what is happening. We're running Solaris 10 zones mounting shares from netapp through nfs. On the zone that freezes we have sar running and are getting this output: SunOS prodserver 5.10... (3 Replies)
Discussion started by: Jyda
3 Replies

3. Shell Programming and Scripting

Extract info from sar output

Hi I have an output of sarcommand which is as follows: 10:22:18 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s 10:23:18 0 398 100 5 13 64 0 0 10:24:18 0 332 100 5 15 65 0 0 10:25:18 0 ... (7 Replies)
Discussion started by: fretagi
7 Replies

4. Solaris

sar output

One of my servers giving all zero sar output. Could anyone explain this behaviour. Thanks CHaandana Sample: 10:43:37 %usr %sys %wio %idle 16:15:01 2 1 0 97 16:20:02 2 1 0 97 16:25:02 2 1 0 97 16:30:01 ... (3 Replies)
Discussion started by: chaandana
3 Replies

5. UNIX for Advanced & Expert Users

sar -d output... does not make sense

Can someone explain the correlation between how sar names the disk drives and how the rest of the OS names the disk drives? sar lists my disk drives as sd0, sd1, sd2, etc..... while format lists my disk drives as c1t0d0, c1t1d0, c1t2d0,etc... And also why sar shows 8 disks but format... (2 Replies)
Discussion started by: s ladd
2 Replies

6. Solaris

extraction of sar output

Hi, Anyone knows how to extract sar command output to excel or Is there any free grapical tools to extract this sar log file. thanks, regards (2 Replies)
Discussion started by: vijill
2 Replies

7. Shell Programming and Scripting

Formatting Sar Output script

Hi, We have 2 scripts below for reporting sar output which are pretty same. In first script i want to add to the program whatever is given in the comments. In second script I want to use while true to run this program every hour and everything that is in comment. Finally I want to club... (0 Replies)
Discussion started by: noorm
0 Replies

8. Shell Programming and Scripting

sar today's output

Hi All, i tried sar command the output appears to be for several days I would like to just see today's SAR output: Please advice me. $sar Linux 2.6.9-67.ELsmp (lrtp50) 02/28/09 00:00:01 CPU %user %nice %system %iowait %idle 00:05:02 all 3.10... (4 Replies)
Discussion started by: raghur77
4 Replies

9. UNIX for Advanced & Expert Users

Why my sar is not updating the output file.

I am trying to collect the sar output for around 90minutes. When i do sar 1 5000 >> /tmp/sar.out It's not updating the sar.out file. When we decrease the 5000 to smaller number like 10, i can see the file sar.out updated after the 10seconds.If i kill my sar while it is running it's not... (1 Reply)
Discussion started by: skneeli
1 Replies

10. Shell Programming and Scripting

sar -q output for one processor

Hello, We like to know if there is a way to report the sar -q per processor on AIX 4.3 . Please help RGDS,Elie. (1 Reply)
Discussion started by: eyounes
1 Replies

Featured Tech Videos