[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getrusage



On Mon, Aug 02, 1999 at 11:59:18PM +0200, dca@torrent.com 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

-- 
This is like TV. I don't like TV.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/