[Fwd: memory usage script]

Pádraig Brady P at draigBrady.com
Tue Jun 17 11:35:11 EDT 2008


Jim Gettys wrote:
> 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
> 
> tridge at samba.org
> Date: Tue, 17 Jun 2008 07:39:51 +1000
> 
> Here is a link:
> 
>   http://www.pixelbeat.org/scripts/ps_mem.py

Cool. I'm the author of that script.
If you have any changes you would like just yell.

Pádraig.



More information about the Devel mailing list