01-28-2009
su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"
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. UNIX for Dummies Questions & Answers
Hi all,
With Sar, it gives you the CPU usage for the last x minutes etc, does anyone know if this is an average value when the machine in question has multiple CPU's, or simply just a reading of CPU #1?
Ta. (3 Replies)
Discussion started by: danhodges99
3 Replies
3. 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
4. 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
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. Solaris
I've been enabled sar in solaris.
in crontab:
and target dir where binar files is situated:
1.But sar indexing files as day(by default) from 1 to 30(31), how to add total date as prefix instead day prefix?
2.in my script for sar statistic i do command:
Somebody suggest me about that What... (1 Reply)
Discussion started by: sotich82
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. Red Hat
Hi,
how to find out actual utilization of memory using sar -r in Linux, I understand Linux keep entire memory in cache/buffers.
I would like to know how to find out actual usage of memory (1 Reply)
Discussion started by: manoj.solaris
1 Replies
10. Red Hat
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