PSTAT Interfaces
36
_T_ULONG_T pst_nsignals;/* # signals received by the process */
_T_ULONG_T pst_msgrcv; /* # socket msgs received by the proc*/
_T_ULONG_T pst_msgsnd; /* # of socket msgs sent by the proc */
_T_LONG_T pst_maxrss; /* highwater mark for proc resident set size */
_T_LONG_T pst_sid; /* session ID */
_T_LONG_T pst_schedpolicy; /* scheduling policy for the process */
_T_LONG_T pst_ticksleft; /* clock ticks left in process' RR timeslice */
struct __psfileid pst_rdir; /* File ID of the process' root directory */
struct __psfileid pst_cdir; /* File ID of the process' current directory */
struct __psfileid pst_text; /* File ID of the process' executable */
_T_LONG_T pst_highestfd; /* highest file descriptor currently opened */
_T_LONG_T pst_euid; /* Effective UID */
_T_LONG_T pst_egid; /* Effective GID */
_T_LONG_T pst_ioch; /* # of characters read/written */
struct __pstcycles pst_usercycles;/* 64-bit user mode execution cycle count*/
struct __pstcycles pst_systemcycles; /* 64-bit system mode execution cycle
* count */
struct __pstcycles pst_interruptcycles; /* 64-bit interrupt for process
* cycle count */
_T_LONG_T pst_gid; /* Real GID */
_T_LONG_T pst_sgid; /* saved effective gid */
_T_LONG_T pst_nlwps; /* # LWPs within this process */
struct pstsigset pst_psig; /* signals pending to proc */
_T_LONG_T pst_lwpid; /* LWP identifier. NOTE: If this process multi-
* threaded, this is an lwpid of one of LWPs in the
* process at this exact moment, which LWP is undefined
* (random)*/
int32_t pst_valid; /* valid vector */
_T_LONG_T pst_text_size;/* Page size used for text objects. */
_T_LONG_T pst_data_size;/* Page size used for data objects. */
struct __pstcycles pst_child_usercycles; /* dead children user mode
execution cycle count */
struct __pstcycles pst_child_systemcycles;/* dead children system mode
* execution cycle count */
struct __pstcycles pst_child_interruptcycles; /* dead children interrupt
* mode execution cycle count */
struct __psttime pst_child_utime; /* reaped child user mode execution time */
struct __psttime pst_child_stime; /*reaped child system mode execution time*/
_T_LONG_T pst_inblock; /* block input operations */
_T_LONG_T pst_oublock; /* block output operations */
_T_LONG_T pst_nvcsw; /* voluntary context switches */
_T_LONG_T pst_nivcsw; /* involuntary context switches */
_T_LONG_T pst_child_inblock; /* reaped child block input operations */
_T_LONG_T pst_child_oublock; /* reaped child block output operations */
_T_LONG_T pst_child_ioch; /* reaped child # of chars read/written */
_T_LONG_T pst_child_msgsnd; /* reaped child # of messages sent */
_T_LONG_T pst_child_msgrcv; /* reaped child # of messages received */
_T_LONG_T pst_child_nvcsw; /* reaped child voluntary context switches */
_T_LONG_T pst_child_nivcsw; /* reaped child involuntary context switches*/
_T_LONG_T pst_child_minorfaults; /* reaped child # of page reclaims */
_T_LONG_T pst_child_majorfaults; /* reaped child # of page faults
* needing disk access */
_T_LONG_T pst_logical_node; /* node this proc last run on */
uint32_t pst_hi_fileid_cdir; /* per shared file ID */
uint32_t pst_lo_fileid_cdir;
uint32_t pst_hi_nodeid_cdir; /* per vnode ID */
uint32_t pst_lo_nodeid_cdir;