[Gllug] PS - memory use

Richard Jones rich at annexia.org
Thu Mar 17 17:10:10 UTC 2005


On Thu, Mar 17, 2005 at 03:33:01PM +0000, Alain Williams wrote:
> Just to make it more complicated I don't want to double count, if I
> have several httpd processes I don't want to add up the memory that
> contains the code several times but once. I want to count shared
> memory (primarily .so files).

This isn't so simple.  For instance, how are you going to account for
copy-on-write mappings between processes?  These show up in
/proc/*/maps, but not in a way which tells you how many pages have
actually been copied.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list