1829465 Members
1710 Online
109991 Solutions
New Discussion

disk performance sar -d

 
chin hyeon jung
Advisor

disk performance sar -d

Hi ,all
I have very interstrang in performance
when i see disk performance using sar -d , the result is like this

00:00:00 device %busy avque r+w/s blks/s avwait avserv
00:10:00 c2t6d0 6.29 0.56 7 109 4.91 18.07
c3t6d0 4.42 0.53 6 105 4.78 13.18
c21t11d0 0.00 0.50 0 1 3.22 0.71
00:20:00 c2t6d0 5.01 0.55 6 100 5.03 18.12
c3t6d0 3.62 0.52 5 97 4.85 14.16
00:30:00 c2t6d0 4.42 0.73 5 98 6.11 18.31
c3t6d0 3.27 0.70 5 96 5.63 14.67
c21t10d4 0.00 0.50 0 1 2.40 0.83
c21t11d0 0.00 0.50 0 0 1.82 0.70
But I want to see the busiest disk or busiest avwait per time.
because I want to which disk is use disk_util_peak!
And if possible, let me know the average of %busy
Here is example of mine .but this is not display the busy of first raw and display every disk per interval.
also not show the time.
####### MONDAY#######
sar -d -f /tmp/KOLON/sa0612|while read DEVICE BUSY AV DUMMY
do
if [[ $BUSY = 0 && $AV = 0.0 ]]
then
echo "$BUSY">/dev/null
else echo "$BUSY ">>sa0612.j
fi
done



5 REPLIES 5
harry d brown jr
Honored Contributor

Re: disk performance sar -d


have you tried glance/measureware and perfview? You'll spend probably more time on writing the script, than the cost of the software.

live free or die
harry

Live Free or Die
MANOJ SRIVASTAVA
Honored Contributor

Re: disk performance sar -d

Hi Chin


There is another way .

go to ww.sarcheck.com and download a trial free version for 30 days , it is very simple to install and you get wonderful formatted o/p for the whole system . In case you like you can buy it from them . I have attached a sample report which we ran on our system for your refernce .


Manoj Srivastava
Wong_3
Advisor

Re: disk performance sar -d

Hi,

I would recommend Glance which would give you more flexibility for system health monitoring. It should come with standard HPUX package when purchased a new server.

I would agree that writing a script would be more tedious and less rewarding than learning how to use Glance.
Learning is a journey till the end of life
chin hyeon jung
Advisor

Re: disk performance sar -d

Thanks all, But I have about 800 disk devices So glance show too many metrics .
these ars mostly use 0 %.
Then I think that how about the most used disk collection.
So this prob occured!!
Paula J Frazer-Campbell
Honored Contributor

Re: disk performance sar -d

Hi

Try this :-


sar -d 1 10 | grep Av | awk '{print $3,$2,$4,$5,$6,$7,$8}' | sort -u

Change the collection interval and times to suit.

Paula
If you can spell SysAdmin then you is one - anon