per-process swap info available on Linux 2.6.34

This commit is contained in:
albert
2010-05-18 07:02:03 +00:00
parent 93fd4a460e
commit 5f570a84f1
2 changed files with 78 additions and 44 deletions

View File

@ -98,6 +98,7 @@ typedef struct proc_t {
vm_rss, // status same as rss in kb
vm_data, // status data size
vm_stack, // status stack size
vm_swap, // status based on "swap ents", Linux 2.6.34
vm_exe, // status executable size
vm_lib, // status library size (all pages, not just used ones)
rtprio, // stat real-time priority