This is a discussion on getting the no. of reads & writes to a disk within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hello all, How to get the no. of reads & writes to a disk ? Also the No of ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Can pstat_getdisk() and iostat be of some help to you ? #include <sys/pstat/disk_pstat_body.h> struct __pst_diskinfo { _T_LONG_T psd_dkxfer; /* cumulative number of transfers; * includes requests with high * (read/write) and low (ioctl) priorities .... */ } The number of bytes transferred to disk can be found out by using iostat. column significance device Device name bps Kilobytes transferred per second --- Regards Surinder Kumar x 3194 A smooth sea never made a skillful mariner |
| ||||
| Does that mean there is is no way I can get the no. of reads & writes separately ? Surinder Kumar wrote: > Can pstat_getdisk() and iostat be of some help to you ? > > #include <sys/pstat/disk_pstat_body.h> > struct __pst_diskinfo { > _T_LONG_T psd_dkxfer; /* cumulative number of transfers; > * includes requests with high > * (read/write) and low (ioctl) > priorities > .... */ > } > > The number of bytes transferred to disk can be found out by using iostat. > column significance > device Device name > bps Kilobytes transferred per second > > --- > Regards > Surinder Kumar > x 3194 > > A smooth sea never made a skillful mariner > > |