Operating System - HP-UX
1836428 Members
3671 Online
110100 Solutions
New Discussion

Re: sar ------- column r+w/s

 
Edwin Ruiz_2
Super Advisor

sar ------- column r+w/s

Hi:

I am using sar for get statistics about the performance in may servers with HP-UX. What does it means the column r+w/s display for sar? this is MB, blocks.. or what!...

Thanks for ur help!

Regards!
6 REPLIES 6
Jeff Schussele
Honored Contributor

Re: sar ------- column r+w/s

Hi Edwin,

It's neither. It's the actual number of read plus write _requests_ per second both from & to the device.
The blk/s will give you the amount of 512 byte blocks per second coming and going to the device.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Pete Randall
Outstanding Contributor

Re: sar ------- column r+w/s

From the man page:
"Number of data transfers per second (read and writes) from and to the device"


Pete

Pete
Edwin Ruiz_2
Super Advisor

Re: sar ------- column r+w/s

Ok! thanks...
Paul Garvey
New Member

Re: sar ------- column r+w/s

I understand that r+w/s is a combination of both Reads and Writes - but is there any way of getting the reads and the writes sperately? For example, on a Solaris system, iostat will return r/s and w/s which are the reads/second and writes/second.

Thanks,
Paul
Stephen Keane
Honored Contributor

Re: sar ------- column r+w/s

You can use the -b option of sar to look at buffer cache usage. The bread/s & bwrit/s shows shows physical reads/writes per seond to the buffer cache, the lread/s & lwrit/s give the logical reads/writes per second from the buffer cache. It's not quite what you want, but not far off. The other alternative is to use glance.
Paul Garvey
New Member

Re: sar ------- column r+w/s

Thanks - I looked at that option, but it's not exactly what I'm looking for. I think my only option is to use Glance or live with the limitation of sar.

Thanks for the help!