Operating System - HP-UX
1822504 Members
2450 Online
109642 Solutions
New Discussion юеВ

Re: Device read/write statistics?

 
Paul Garvey
New Member

Device read/write statistics?

Hi -

I'm trying to get the reads-per-second and writes-per-second for devices. I know 'sar' will give me r+w/s, but I need to figure out the exact figures for reads and writes, not both combined.

Any help would be greatly appreciated.

Thanks,
Paul
7 REPLIES 7
Alex Lavrov.
Honored Contributor

Re: Device read/write statistics?

I think "sar -d" will give you reads and writes in different columns. Can you post here the output of "sar -d 1 1"?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: Device read/write statistics?

Sorry, ignore my post, in linux it's two columns, not in HP. My bad.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
A. Clay Stephenson
Acclaimed Contributor

Re: Device read/write statistics?

Sar is as sar does. Iostat doesn't do this nor does vmstat. Sar -b splits the reads and writes but not by device. You will find that on HP-UX, the performance measuring weapon of choice is Glance. The 60-day Trial version of Glance can be found on any Application CD Set.
If it ain't broke, I can fix that.
Paul Garvey
New Member

Re: Device read/write statistics?

Thanks for the help. Do you know where I can download a copy of Glance? I've got an application CD, but I've lost the code.

Thanks,
Paul
A. Clay Stephenson
Acclaimed Contributor

Re: Device read/write statistics?

The Trial version is not codeword protected. You should be able to swinstall it w/o any problem.
If it ain't broke, I can fix that.
Paul Garvey
New Member

Re: Device read/write statistics?

Thanks for all the help!

I have to say, I'm surprised that HP's version of iostat or sar do not give these figures. If you are going to report the reads + the writes, wouldn't it make sense to have the option of showing the reads and writes seperately as well!?!?

Oh well...enough ranting...

Thanks again!
A. Clay Stephenson
Acclaimed Contributor

Re: Device read/write statistics?

Clearly you don't understand marketing. If you could get the values you're looking for for free, would you buy Glance?
If it ain't broke, I can fix that.