miscellaneous library documentation changes
Library changes . standardized comments in proc_t statm/status memory definitions Signed-off-by: Jan Görig <jgorig@redhat.com>
This commit is contained in:
parent
f2e4b9f601
commit
16f8bc685f
@ -82,25 +82,25 @@ typedef struct proc_t {
|
|||||||
long
|
long
|
||||||
priority, // stat kernel scheduling priority
|
priority, // stat kernel scheduling priority
|
||||||
nice, // stat standard unix nice level of process
|
nice, // stat standard unix nice level of process
|
||||||
rss, // stat resident set size from /proc/#/stat (pages)
|
rss, // stat identical to 'resident'
|
||||||
alarm, // stat ?
|
alarm, // stat ?
|
||||||
// the next 7 members come from /proc/#/statm
|
// the next 7 members come from /proc/#/statm
|
||||||
size, // statm total # of pages of memory
|
size, // statm total virtual memory (as # pages)
|
||||||
resident, // statm number of resident set (non-swapped) pages (4k)
|
resident, // statm resident non-swapped memory (as # pages)
|
||||||
share, // statm number of pages of shared (mmap'd) memory
|
share, // statm shared (mmap'd) memory (as # pages)
|
||||||
trs, // statm text resident set size
|
trs, // statm text (exe) resident set (as # pages)
|
||||||
lrs, // statm shared-lib resident set size
|
lrs, // statm library resident set (always 0 w/ 2.6)
|
||||||
drs, // statm data resident set size
|
drs, // statm data+stack resident set (as # pages)
|
||||||
dt; // statm dirty pages
|
dt; // statm dirty pages (always 0 w/ 2.6)
|
||||||
unsigned long
|
unsigned long
|
||||||
vm_size, // status same as vsize in kb
|
vm_size, // status equals 'size' (as kb)
|
||||||
vm_lock, // status locked pages in kb
|
vm_lock, // status locked pages (as kb)
|
||||||
vm_rss, // status same as rss in kb
|
vm_rss, // status equals 'rss' and/or 'resident' (as kb)
|
||||||
vm_data, // status data size
|
vm_data, // status data only size (as kb)
|
||||||
vm_stack, // status stack size
|
vm_stack, // status stack only size (as kb)
|
||||||
vm_swap, // status based on "swap ents", Linux 2.6.34
|
vm_swap, // status based on linux-2.6.34 "swap ents" (as kb)
|
||||||
vm_exe, // status executable size
|
vm_exe, // status equals 'trs' (as kb)
|
||||||
vm_lib, // status library size (all pages, not just used ones)
|
vm_lib, // status total, not just used, library pages (as kb)
|
||||||
rtprio, // stat real-time priority
|
rtprio, // stat real-time priority
|
||||||
sched, // stat scheduling class
|
sched, // stat scheduling class
|
||||||
vsize, // stat number of pages of virtual memory ...
|
vsize, // stat number of pages of virtual memory ...
|
||||||
|
Loading…
Reference in New Issue
Block a user