Retreiving memory statistics via /proc/stats don't work on a Linux 2.6 kernel - does not contain keywords 'page' and 'swap'.
Logged In: YES user_id=519003
Attached patch seems to fix this.
Read /proc/vmstat instead of /proc/stats
Log in to post a comment.
Logged In: YES
user_id=519003
Attached patch seems to fix this.
Read /proc/vmstat instead of /proc/stats