10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI,
I have a problem with 'sar' command.
I am using the sar comman in script.when i execute the script manually using ./filenae, i am getting the desired output.
But when i put the script in cron job i am not getting the desired value.
Below is the script..
sar > $_LOCATION/sar.txt... (2 Replies)
Discussion started by: ahamed
2 Replies
2. 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
3. Solaris
hi all:-
when i try to use sar command i get this error how can i fix it
bash-3.00# sar -A
sar: can't open /var/adm/sa/sa16
No such file or directory (5 Replies)
Discussion started by: sharkux
5 Replies
4. Solaris
Dear All,
I have SUNW,Ultra-4 Machine,running Solaris 8 while I tray sar command reported as:
$ sar
SunOS Kentut-Bau 5.8 Generic_117350-34 sun4u 01/27/09
00:00:00 %usr %sys %wio %idle
00:00:00 46 54 0 0
00:01:00 3 3 3 91... (1 Reply)
Discussion started by: fredginting
1 Replies
5. 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
6. HP-UX
Hey guys in sar -v 5 5 command what is the proc means. (1 Reply)
Discussion started by: sbn
1 Replies
7. 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
8. AIX
hello
with a sar i have this result:
System configuration: lcpu=48 ent=4.00
14:06:37 %usr %sys %wio %idle physc %entc
14:06:39 26 9 3 62 1.63 40.7
14:06:41 26 9 3 63 1.58 39.4
14:06:43 ... (0 Replies)
Discussion started by: pascalbout
0 Replies
9. 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
10. 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