[Fwd: memory usage script]

Jim Gettys jg at laptop.org
Tue Jun 17 11:14:01 EDT 2008


As many/most of you should know, the Linux/UNIX "ps" command is
*EXTREMELY* misleading on accounting for *ACTUAL* ram in use by a
process.  For example, it does not account for register windows being
used by the X server, nor sharing among processes that use the same
shared library.

Attached is a note from Tridge, pointing to a script that does a much
better job accounting to real usage.

Note that the Linux kernel has recently started doing a better job
accounting for memory usage as well (after 2.6.23-rc8-mm1).
                       - Jim
-- 
Jim Gettys <jg at laptop.org>
One Laptop Per Child
-------------- next part --------------
An embedded message was scrubbed...
From: tridge at samba.org
Subject: memory usage script
Date: Tue, 17 Jun 2008 07:39:51 +1000
Size: 2359
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080617/064ad377/attachment.mht>


More information about the Devel mailing list