Thanks for the information needed.
The netpmon, filemon and curt, i think doesnot come with the minimal AIX installation. They need to be installed as additional package, so i cannot use those.
------------------------
iostat o/p
# iostat -d 2 2
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.0 0.0 0.0 0 0
hdisk2 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
hdisk0 0.0 0.0 0.0 0 0
hdisk2 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
also gives the total transfers per sec. But not the reads/sec and writes/sec data.
-----------------------------------
Even libperfstat.h contains this structure which has the disk data
typedef struct { /* disk information */
char name[IDENTIFIER_LENGTH]; /* name of the disk */
char description[IDENTIFIER_LENGTH]; /* disk description (from ODM) */
char vgname[IDENTIFIER_LENGTH]; /* volume group name (from ODM) */
u_longlong_t size; /* size of the disk (in MB) */
u_longlong_t free; /* free portion of the disk (in MB)
*/
u_longlong_t bsize; /* disk block size (in bytes) */
u_longlong_t xrate; /* kbytes/sec xfer rate capability
*/
u_longlong_t xfers; /* number of transfers to/from disk
*/
u_longlong_t wblks; /* number of blocks written to disk
*/
u_longlong_t rblks; /* number of blocks read from disk
*/
u_longlong_t qdepth; /* queue depth */
u_longlong_t time; /* amount of time disk is active */
char adapter[IDENTIFIER_LENGTH]; /* disk adapter name (from ODM) */
uint paths_count; /* number of paths defined to the d
isk */
} perfstat_disk_t;
again here xfers gives the total number transfer.
-----------------------------
Can somebody provide information how to read the number reads/sec and writes/sec data for each of the devices from the kernal. It would be of great help to us.