1753500 Members
4260 Online
108794 Solutions
New Discussion юеВ

HP-UX command

 
SOLVED
Go to solution
Alexander E. Ivanov
Frequent Advisor

HP-UX command

Hi,

what command in hp-ux 11.0 to recieve the following values:
- timing buffer cache reads
- timing buffered disk reads

Thank you.
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: HP-UX command

The attached sar scripts measure this and other peformance data.

You can decide which metrics to collect by editing the script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay Kumar Suri
Honored Contributor

Re: HP-UX command

sar -b
sar -d

check man sar for more details.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
SureshKumar_2
Valued Contributor

Re: HP-UX command

Hi

With sar u may need to add the time in sec and as well as no. of samples

sar -b t n

t -> time insec
n -> samples

for ex. for 5 sec, and 10 samples
sar -b 5 10

sar -d 5 10
Hope this meets ur requirement.

for more info, u can refer man sar

suresh
Things are very easy, when u know about it...