03-26-2003
Have used sar and cpusar on an SCO Unix 5.0.5. SMP System. From memory sar returned averages for that moment in time the snap-shot was taked across the whole system. Where as cpusar returned actual readings for that moment of the snap-shot.
Could still be wrong - It's been a while for me. Hope that helps
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
We have a script that uses
sar -u 1 10 | awk '/Average/ { print ( $2 + $3 ) }'
to get the CPU usage of a mutli engine machine. We think we are getting wrong information from the above string. We think it is adding up the total of the 12 engines and reporting back the total not the overall... (5 Replies)
Discussion started by: kevinb
5 Replies
2. AIX
hello
when i want to launch tha sar command with some arguments, i have this message :
sar -mu -P ALL
sar: 0551-201 Cannot open /var/adm/sa/sa08.
sar: 0551-213 Try running /usr/lib/sa/sa1 <increment> <number>
if I look in /var/adm/sa, there is nothing, no file.
the sar 2 5 is available.... (2 Replies)
Discussion started by: pascalbout
2 Replies
3. UNIX for Advanced & Expert Users
at work i have a HP-UX box. i attempt to use sar to monitor but it comes up with following message:
can't open /var/adm/sa/sa13
i recreated the file as i thought that was the problem but it was not.
cheers
hush (2 Replies)
Discussion started by: hu$h
2 Replies
4. AIX
when i used sar -u -f xxxx
i've got the result like the following
...
18Aug200614:45:00 0 1 0 99
18Aug200614:50:00 1 1 0 98
18Aug200622:42:46 1 0 0 98
18Aug200607:00:00 0 0 100 0
18Aug200608:20:48 ... (0 Replies)
Discussion started by: pohnpohnpohn
0 Replies
5. HP-UX
Hey guys in sar -v 5 5 command what is the proc means. (1 Reply)
Discussion started by: sbn
1 Replies
6. AIX
I am trying to set up sar on my AIX server. We have been running sar and getting reports on out Linux boxes in the past but would like to try to do the same in AIX. On my Linux i have a sar.sh that looks like this:
#!/bin/bash
LC_ALL=C sar -A -f /var/log/sa/sa27 > /server023.txt
LC_ALL=C sar -A... (1 Reply)
Discussion started by: seacros
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
# SAR -u 5 5 shows this
10:01:32 AM CPU %user %nice %system %iowait %idle
10:01:37 AM all 1.90 0.00 1.20 96.90 0.00
10:01:42 AM all 1.30 0.00 1.70 97.00 0.00
10:01:47 AM all 4.30 0.00 ... (1 Reply)
Discussion started by: egorig
1 Replies
8. AIX
I am running below script to display last 48 hour data but the output is not displaying heading -
AIX eqrdb26u1 1 6 00CFD5E34C00 01/21/10
System configuration: lcpu=8 ent=2.00 mode=Uncapped
22:31:40 %usr %sys %wio %idle physc %entc
and footer -
Average 25 9 ... (1 Reply)
Discussion started by: noorm
1 Replies
9. Solaris
Hi all
Bit of a silly question, but if I run sar to get the CPU stats (something like this):
sar -u 300 1
The figures that are returned, is it in the above case the average over 300 seconds, or does it just wait for 300 seconds before obtaining the readings? (1 Reply)
Discussion started by: kinetik
1 Replies
10. Solaris
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