PSTAT Interfaces
33
_T_ULONG_T psl_idx; /* Index for further pstat() requests */
struct __psdev psl_dev; /* device specification for the volume */
_T_ULONG_T psl_rxfer; /* # of reads */
_T_ULONG_T psl_rcount; /* # of bytes read */
_T_ULONG_T psl_wxfer; /* # of writes */
_T_ULONG_T psl_wcount; /* # of bytes written */
_T_ULONG_T psl_openlv; /* # of opened LV's in this LV's LVG */
_T_ULONG_T psl_mwcwaitq; /* Length of LV's mirror write consistency
* Cache (MWC) */
_T_ULONG_T psl_mwcsize; /* Size of LV's LVG's MWC */
_T_ULONG_T psl_mwchits; /* # of hits to the LV's LVG's MWC */
_T_ULONG_T psl_mwcmisses; /* # of misses to the LV's LVG's MWC */
lwp_status
This structure contains lightweight process (LWP) or thread information. This is only available
as 64-bit data. Header file: <sys/pstat/lwp_pstat_body.h>
int64_t lwp_idx; /* Index for further pstat_getlwp() calls */
int64_t lwp_lwpid; /* LWP ID */
int64_t lwp_pid; /* PID that LWP belongs to */
int64_t lwp_flag; /* flags associated with LWP */
int64_t lwp_stat; /* Current status */
int64_t lwp_wchan; /* If state LWP_SLEEP, value sleeping on */
int64_t lwp_pri; /* priority of LWP */
int64_t lwp_cpu; /* (decaying) CPU utilization for scheduling */
int64_t lwp_spu; /* spu number LWP is assigned to */
int64_t lwp_user_suspcnt;/* user-initiated suspend count */
struct pstsigset lwp_sig; /* signals pending to LWP */
struct pstsigset lwp_sigmask;/* current signal mask */
int64_t lwp_schedpolicy; /* scheduling policy */
int64_t lwp_ticksleft; /* clock ticks left in LWP's RR time slice */
int64_t lwp_start; /* time LWP created (seconds since epoch) */
uint64_t lwp_minorfaults; /* # page reclaims */
uint64_t lwp_majorfaults; /* # page faults needing disk access */
uint64_t lwp_ndeact; /* # deactivates */
uint64_t lwp_inblock; /* # block input operations */
uint64_t lwp_oublock; /* # block output operations */
uint64_t lwp_ioch; /* # of characters read/written */
uint64_t lwp_msgsnd; /* # messages sent */
uint64_t lwp_msgrcv; /* # messages received */
uint64_t lwp_nsignals; /* # signals received */
uint64_t lwp_nvcsw; /* # voluntary context switches */
uint64_t lwp_nivcsw; /* # involuntary context switches */
uint64_t lwp_syscall; /* # syscalls */
int64_t lwp_syscall_code; /* last syscall code */
int64_t lwp_utime; /* user time spent executing (in seconds) */
int64_t lwp_stime; /* system time spent executing (in seconds) */
struct lwpcycles lwp_usercycles; /* 64-bit user mode execution cycle
* count */
struct lwpcycles lwp_systemcycles; /* 64-bit system mode execution cycle
* count */
struct lwpcycles lwp_interruptcycles; /* 64-bit interrupt for thread cycle
* count */
int64_t lwp_valid; /* valid vector */