Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
man 4 proc
tag: v0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
Readme.md
package.json
prusage.cc
wscript

Readme.md

Proc

Expose low level system proc data.

usage

/*

  • Resource usage. /proc//usage /proc//lwp//lwpusage / typedef struct prusage { id_t pr_lwpid; / lwp id. 0: process or defunct / int pr_count; / number of contributing lwps / timestruc_t pr_tstamp; / current time stamp / timestruc_t pr_create; / process/lwp creation time stamp / timestruc_t pr_term; / process/lwp termination time stamp / timestruc_t pr_rtime; / total lwp real (elapsed) time / timestruc_t pr_utime; / user level cpu time / timestruc_t pr_stime; / system call cpu time / timestruc_t pr_ttime; / other system trap cpu time / timestruc_t pr_tftime; / text page fault sleep time / timestruc_t pr_dftime; / data page fault sleep time / timestruc_t pr_kftime; / kernel page fault sleep time / timestruc_t pr_ltime; / user lock wait sleep time / timestruc_t pr_slptime; / all other sleep time / timestruc_t pr_wtime; / wait-cpu (latency) time / timestruc_t pr_stoptime; / stopped time / timestruc_t filltime[6]; / filler for future expansion / ulong_t pr_minf; / minor page faults / ulong_t pr_majf; / major page faults / ulong_t pr_nswap; / swaps / ulong_t pr_inblk; / input blocks / ulong_t pr_oublk; / output blocks / ulong_t pr_msnd; / messages sent / ulong_t pr_mrcv; / messages received / ulong_t pr_sigs; / signals received / ulong_t pr_vctx; / voluntary context switches / ulong_t pr_ictx; / involuntary context switches / ulong_t pr_sysc; / system calls / ulong_t pr_ioch; / chars read and written / ulong_t filler[10]; / filler for future expansion */ } prusage_t;
Something went wrong with that request. Please try again.