Lines Matching defs:proc_t
38 typedef struct proc_t { struct
41 pid, /* process id */
42 ppid; /* pid of parent process */
44 pcpu; /* %CPU usage (is not filled in by readproc!!!) */
46 state, /* single-char code for process state (S=sleeping) */
47 pad_1, /* padding */
48 pad_2, /* padding */
49 pad_3; /* padding */
52 utime, /* user-mode CPU time accumulated by process */
53 stime, /* kernel-mode CPU time accumulated by process */
55 cutime, /* cumulative utime of process and reaped children */
56 cstime, /* cumulative stime of process and reaped children */
57 start_time; /* start time of process -- seconds since 1-1-70 */
61 signal[18], /* mask of pending signals */
62 blocked[18], /* mask of blocked signals */
63 sigignore[18], /* mask of ignored signals */
64 sigcatch[18]; /* mask of caught signals */
68 signal, /* mask of pending signals */
69 blocked, /* mask of blocked signals */
70 sigignore, /* mask of ignored signals */
71 sigcatch; /* mask of caught signals */
74 priority, /* kernel scheduling priority */
75 timeout, /* ? */
76 nice, /* standard unix nice level of process */
77 rss, /* resident set size from /proc/#/stat (pages) */
78 it_real_value, /* ? */
80 size, /* total # of pages of memory */
81 resident, /* number of resident set (non-swapped) pages (4k) */
82 share, /* number of pages of shared (mmap'd) memory */
83 trs, /* text resident set size */
84 lrs, /* shared-lib resident set size */
85 drs, /* data resident set size */
86 dt; /* dirty pages */
88 vm_size, /* same as vsize in kb */
89 vm_lock, /* locked pages in kb */
90 vm_rss, /* same as rss in kb */
91 vm_data, /* data size */
92 vm_stack, /* stack size */
93 vm_exe, /* executable size */
94 vm_lib, /* library size (all pages, not just used ones) */
95 rtprio, /* real-time priority */
96 sched, /* scheduling class */
97 vsize, /* number of pages of virtual memory ... */
98 rss_rlim, /* resident set size limit? */
99 flags, /* kernel flags for the process */
100 min_flt, /* number of minor page faults since process start */
101 maj_flt, /* number of major page faults since process start */
102 cmin_flt, /* cumulative min_flt of process and child processes */
103 cmaj_flt, /* cumulative maj_flt of process and child processes */
104 nswap, /* ? */
105 cnswap, /* cumulative nswap ? */
106 start_code, /* address of beginning of code segment */
107 end_code, /* address of end of code segment */
108 start_stack, /* address of the bottom of stack for the process */
109 kstk_esp, /* kernel stack pointer */
110 kstk_eip, /* kernel instruction pointer */
111 wchan; /* address of kernel wait channel proc is sleeping in */
113 **environ, /* environment string vector (/proc/#/environ) */
114 **cmdline; /* command line string vector (/proc/#/cmdline) */
140 } proc_t; argument