Re: pmap, smap, process memory utilization

From: Nick Piggin
Date: Thu Jun 29 2006 - 13:45:02 EST


Steven Rostedt wrote:
On Wed, 28 Jun 2006, Greg Bledsoe wrote:

That seems to be what I am hearing in previous lkml discussions.

Also, since it seems virtually impossible to get this data on a
per-process basis, does smap suffer from these same difficulties, as
it seems to calculate this information when asked, and not keep it
from process start time.

Hi Greg,

smap should do what you want. Rss is total memory used, and the
following 4 fields are the type of pages used -- shared meaning
it is mapped by more than one process.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/