Figure 3: Structure of the sar binary record
This structure is NOT found in ANY system header files, but is found in the sar manual pages.
struct sa {
struct sysinfo si; /* see /usr/include/sys/sysinfo.h */
struct minfo mi; /* defined in sys/sysinfo.h */
struct dinfo di; /* RFS info defined in sys/sysinfo.h */
struct rcinfo rc; /* Client cache info defined in sys/sysinfo.h */
struct bpbinfo bi; /* Co-processor info defined in sys/sysinfo.h */
int bpb_utilize /* Co-processor utilize flag */
int minserve, maxserve; /* RFS server low and high water marks */
int szinode; /* current size of inode table */
int szfile; /* current size of file table */
int szproc; /* current size of proc table */
int szlckf; /* current size of file record header table */
int szlckr; /* current size of file record lock table */
int mszinode; /* size of inode table */
int mszfile; /* size of file table */
int mszproc; /* size of proc table */
int mszlckf; /* maximum size of file record header table */
int mszlckr; /* maximum size of file record lock table */
long inodeovf; /* cumulative overflows of inode table */
long fileovf; /* cumulative overflows of file table */
long procovf; /* cumulative overflows of proc table */
time_t ts; /* time stamp, seconds */
long devio[NDEVS][4]; /* device unit information */
int cachehits; /* number of name cache hits */
int cachemisses; /* number of name cache misses */
#define IO_OPS 0 /* cumulative I/O requests */
#define IO_BCNT 1 /* cumulative blocks transferred */
#define IO_ACT 2 /* cumulative drive busy time in ticks */
#define IO_RESP 3 /* cumulative I/O resp time in ticks */
};
|