getrusage
The implementation of getrusage(2) appears incomplete in the stock 2.2.10 kernel; it's missing memory statistics e.g. the rss numbers. (It's also missing I/O statistics, but I assume you don't want to hear about them.)
Is this an old design decision, or simply an oversight? If an oversight, I'd be happy to propose a patch for it.
Dave Anderson
[email protected]
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
Quoted 7 lines · On Mon, Aug 02, 1999 at 11:59:18PM +0200, [email protected] wrote:
The implementation of getrusage(2) appears incomplete in the stock 2.2.10 kernel; it's missing memory statistics e.g. the rss numbers. (It's also missing I/O statistics, but I assume you don't want to hear about them.)
Is this an old design decision, or simply an oversight? If an oversight, I'd be happy to propose a patch for it.
How would you count e.g. shared mappings in a single RSS number ?
I think you need some more fine grained way to report memory use.
-Andi
Signature · 5 lines
This is like TV. I don't like TV. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://humbolt.geo.uu.nl/Linux-MM/