Operating System - HP-UX
1833327 Members
2740 Online
110051 Solutions
New Discussion

Where I can find this documents?

 
SOLVED
Go to solution
Fragon
Trusted Contributor

Where I can find this documents?

About how to use "sar" and the detail information for each output!
For example, "sar -b" and its meaning of each output field. And, if the output value is high or low, etc.

Thank in advance!

-Gerald-
3 REPLIES 3
Stefan Farrelly
Honored Contributor
Solution

Re: Where I can find this documents?

Ceesjan van Hattum
Esteemed Contributor

Re: Where I can find this documents?

Maybe not the best answer, but type:
sar -o sarfile 5 60
(60 times on 5 sec. interval)
sar -Af sarfile > report

The report generated contains a full report.
Study this report together with 'man 1M sar' and sure you will figure out what is what.

Regards,
Ceesjan
Marius Botha
Advisor

Re: Where I can find this documents?

Hi,

sar -b is good for checking db buffer cache activity.
When you use sar -b 1 5 ..
bread/s - no of read operations ps from disk to bc
lread/s - no of read operations ps from bc
%rcache - buffer cache hit ratio for read requests
bwrit/s - no of write oper ps from bc to disk
lwrit/s - no of write oper ps to bc
%wcache - buffer cache hit ratio for write reqts
pread/s - no of read oper ps from raw device
pwrit/s - no of write oper ps to raw device

If you are looking at general tuning on your box, try glance ..you can drill down into more detail than with sar. Sar is good combination with iostat,vmstat,netstat,lanadmin for perf and tuning.

Also, if you run Oracle .. try to keep buffer cache hit ration in excess of 0.97 ratio .. obviously if you are running in a batch mode expect 0.89 as a norm.
Dont ask for permission, ask for forgiveness