PSTAT Interfaces
41
* freezes */
_T_LONG_T pst_desfree; /* # of pages to try to keep free via
* daemon */
_T_LONG_T pst_minfree; /* minimum free pages before swapping
* begins */
_T_LONG_T pst_max_ninode; /* Max number of Inodes */
_T_LONG_T pst_max_nfile; /* Max number of file table entries */
_T_LONG_T pst_stable_size; /* size of data structure pst_stable */
_T_LONG_T pst_supported_pgsize[PST_N_PG_SIZES]; /* valid page sizes
* supported by the architecture */
_T_LONG_T pst_fileinfo_size; /* size of data structure pst_fileinfo */
_T_LONG_T pst_fileinfo2_size;
_T_LONG_T pst_filedetails_size;
_T_LONG_T pst_socket_size;
_T_LONG_T pst_stream_size;
_T_LONG_T pst_mpathnode_size;
_T_LONG_T pst_ipcinfo_size;
_T_LONG_T pst_msginfo_size;
_T_LONG_T pst_seminfo_size;
_T_LONG_T pst_shminfo_size;
_T_LONG_T pst_vm_status_size;
_T_LONG_T lwp_status_size;
_T_LONG_T pst_crashinfo_size;
_T_LONG_T pst_crashdev_size;
_T_LONG_T pst_node_size;
_T_LONG_T clonemajor; /* Major number of clone devices */
Number of page sizes: PST_N_PG_SIZES à 16
pst_stream:
Header file: <sys/pstat/stream_pstat_body.h>
pst_streamentity_t type; /* PS_STR_HEAD, PS_STR_MODULE, PS_STR_DRIVER */
union {
struct { /* head Information */
uint32_t pst_hi_fileid; /* Per file ID*/
uint32_t pst_lo_fileid;
uint32_t pst_hi_nodeid; /* Per node ID*/
uint32_t pst_lo_nodeid;
_T_ULONG_T pst_rbytes; /* queued bytes on read side */
_T_ULONG_T pst_wbytes; /* queued bytes on write side */
_T_ULONG_T pst_flag; /* Is a clone? PS_STR_ISACLONE*/
_T_LONG_T pst_dev_major;/* major number */
_T_LONG_T pst_dev_minor;/* minor number */
_T_LONG_T pst_dev_seq; /* clone driver sequence */
} head;
struct { /* Module Information */
_T_ULONG_T pst_rbytes; /* queued bytes on read side */
_T_ULONG_T pst_wbytes; /* queued bytes on write side */
char pst_name[PS_STRMODNAME_SZ]; /* NULL terminated */
} module;
struct { /* driver information */
_T_ULONG_T pst_rbytes; /* queued bytes on read side */
_T_ULONG_T pst_wbytes; /* queued bytes on write side */
char pst_name[PS_STRMODNAME_SZ]; /* NULL terminated */
} driver;