235 uint64_t inv_swtch; /* involuntary context switches */
236 uint64_t nthreads; /* thread_create()s */
237 uint64_t cpumigrate; /* cpu migrations by threads */
238 uint64_t xcalls; /* xcalls to other cpus */
239 uint64_t mutex_adenters; /* failed mutex enters (adaptive) */
240 uint64_t rw_rdfails; /* rw reader failures */
241 uint64_t rw_wrfails; /* rw writer failures */
242 uint64_t modload; /* times loadable module loaded */
243 uint64_t modunload; /* times loadable module unloaded */
244 uint64_t bawrite; /* physical block writes (async) */
245 uint64_t iowait; /* count of waiters for block I/O */
246 } cpu_sys_stats_t;
247
248 typedef struct cpu_vm_stats {
249 uint64_t pgrec; /* page reclaims (includes pageout) */
250 uint64_t pgfrec; /* page reclaims from free list */
251 uint64_t pgin; /* pageins */
252 uint64_t pgpgin; /* pages paged in */
253 uint64_t pgout; /* pageouts */
254 uint64_t pgpgout; /* pages paged out */
255 uint64_t swapin; /* swapins */
256 uint64_t pgswapin; /* pages swapped in */
257 uint64_t swapout; /* swapouts */
258 uint64_t pgswapout; /* pages swapped out */
259 uint64_t zfod; /* pages zero filled on demand */
260 uint64_t dfree; /* pages freed by daemon or auto */
261 uint64_t scan; /* pages examined by pageout daemon */
262 uint64_t rev; /* revolutions of page daemon hand */
263 uint64_t hat_fault; /* minor page faults via hat_fault() */
264 uint64_t as_fault; /* minor page faults via as_fault() */
265 uint64_t maj_fault; /* major page faults */
266 uint64_t cow_fault; /* copy-on-write faults */
267 uint64_t prot_fault; /* protection faults */
268 uint64_t softlock; /* faults due to software locking req */
269 uint64_t kernel_asflt; /* as_fault()s in kernel addr space */
270 uint64_t pgrrun; /* times pager scheduled */
271 uint64_t execpgin; /* executable pages paged in */
272 uint64_t execpgout; /* executable pages paged out */
273 uint64_t execfree; /* executable pages freed */
274 uint64_t anonpgin; /* anon pages paged in */
275 uint64_t anonpgout; /* anon pages paged out */
276 uint64_t anonfree; /* anon pages freed */
277 uint64_t fspgin; /* fs pages paged in */
278 uint64_t fspgout; /* fs pages paged out */
|
235 uint64_t inv_swtch; /* involuntary context switches */
236 uint64_t nthreads; /* thread_create()s */
237 uint64_t cpumigrate; /* cpu migrations by threads */
238 uint64_t xcalls; /* xcalls to other cpus */
239 uint64_t mutex_adenters; /* failed mutex enters (adaptive) */
240 uint64_t rw_rdfails; /* rw reader failures */
241 uint64_t rw_wrfails; /* rw writer failures */
242 uint64_t modload; /* times loadable module loaded */
243 uint64_t modunload; /* times loadable module unloaded */
244 uint64_t bawrite; /* physical block writes (async) */
245 uint64_t iowait; /* count of waiters for block I/O */
246 } cpu_sys_stats_t;
247
248 typedef struct cpu_vm_stats {
249 uint64_t pgrec; /* page reclaims (includes pageout) */
250 uint64_t pgfrec; /* page reclaims from free list */
251 uint64_t pgin; /* pageins */
252 uint64_t pgpgin; /* pages paged in */
253 uint64_t pgout; /* pageouts */
254 uint64_t pgpgout; /* pages paged out */
255 uint64_t zfod; /* pages zero filled on demand */
256 uint64_t dfree; /* pages freed by daemon or auto */
257 uint64_t scan; /* pages examined by pageout daemon */
258 uint64_t rev; /* revolutions of page daemon hand */
259 uint64_t hat_fault; /* minor page faults via hat_fault() */
260 uint64_t as_fault; /* minor page faults via as_fault() */
261 uint64_t maj_fault; /* major page faults */
262 uint64_t cow_fault; /* copy-on-write faults */
263 uint64_t prot_fault; /* protection faults */
264 uint64_t softlock; /* faults due to software locking req */
265 uint64_t kernel_asflt; /* as_fault()s in kernel addr space */
266 uint64_t pgrrun; /* times pager scheduled */
267 uint64_t execpgin; /* executable pages paged in */
268 uint64_t execpgout; /* executable pages paged out */
269 uint64_t execfree; /* executable pages freed */
270 uint64_t anonpgin; /* anon pages paged in */
271 uint64_t anonpgout; /* anon pages paged out */
272 uint64_t anonfree; /* anon pages freed */
273 uint64_t fspgin; /* fs pages paged in */
274 uint64_t fspgout; /* fs pages paged out */
|