Visit Our UNIX and Linux User Community


Sar output

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Sar output
# 1  
Old 05-30-2016
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


Code:
01:34:13 PM       all     0      0      0      0     0.00     0


Last edited by Don Cragun; 05-31-2016 at 02:17 AM.. Reason: Add CODE and ICODE tags.
# 2  
Old 05-31-2016
What sar command are you using exactly. On my system sar -u produces a diagnostic indicating that an operand is required.

When you run sar what is the heading line in the output? On my system, the output from the command:
Code:
sar -u 1

from a few minutes ago was:
Code:
22:18:24  %usr  %nice   %sys   %idle
22:18:25    1      0      1     98
Average:      1      0      1     98

You have more output fields, than I'm seeing. My output is showing 1% of CPU being used by user code, 1% of CPU being use by system code and 98% idle. I can't guess at how the output you have shown us correlates to the output I see on my system since we can't have 0% user time, 0% system time, AND 0% idle.
# 3  
Old 05-31-2016
I am getting below ouput , I have run only sar -u
09:40:01 AM CPU %user %nice %system %iowait %steal %idle
10:10:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:30:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:30:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:40:02 AM all 0.00 0.00 0.00 0.00 0.00 0.00


please suggest

Previous Thread | Next Thread
Test Your Knowledge in Computers #471
Difficulty: Medium
Google recommends that users configure Google Public NTP together with non-leap-smearing NTP servers.
True or False?

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. Solaris

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 00:00:58 device %busy avque r+w/s blks/s avwait avserv 11:20:01 ... (4 Replies)
Discussion started by: dangral
4 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. 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