Re: statm_pgd_range() sucks!

From: Anton Blanchard (anton@samba.org)
Date: Fri Aug 30 2002 - 03:24:56 EST


> Okay, I have *had it* with statm_pgd_range()!

On a related note, it would be nice if procps would not parse things it
doesnt need:

strace ps 2>&1 | grep open | grep '/proc'

open("/proc/12467/stat", O_RDONLY) = 7
open("/proc/12467/statm", O_RDONLY) = 7
open("/proc/12467/status", O_RDONLY) = 7
open("/proc/12467/cmdline", O_RDONLY) = 7
open("/proc/12467/environ", O_RDONLY) = 7

It always opens statm even when its not required.

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:30 EST