Re: [Fwd: memory usage script]

2008-06-17 Thread Pádraig Brady
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
 
 [EMAIL PROTECTED]
 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.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Fwd: memory usage script]

2008-06-17 Thread Martin Langhoff
2008/6/17 Jim Gettys [EMAIL PROTECTED]:
 Attached is a note from Tridge, pointing to a script that does a much
 better job accounting to real usage.

After talkling with tridge I did a bit of sleuthing and found this one:
http://bmaurer.blogspot.com/2006/03/memory-usage-with-smaps.html

Somehow google sniffed my perlish soul and gave me a first hit that
stroked it... looking at the python one, it looks more user-oriented
(better!) than smaps.pl.

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel