Re: getrusage

Andi Kleen
1999-08-03T11:04:24Z

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.