User: Password:
|
|
Subscribe / Log in / New account

ELC: How much memory are applications really using?

ELC: How much memory are applications really using?

Posted Apr 24, 2007 16:05 UTC (Tue) by richdawe (subscriber, #33805)
Parent article: ELC: How much memory are applications really using?

There's also a tool called exmap <http://www.berthels.co.uk/exmap/>, which does something similar, although perhaps not as comprehensively. There's also a console version for embedded applications, called exmap-console <http://projects.o-hand.com/exmap-console> -- there was an interesting presentation at FOSDEM on it.

I like the Proportional Set Size and Unique Set Size measurements mentioned in the article -- hopefully they will be exposed in top.


(Log in to post comments)

ELC: How much memory are applications really using?

Posted Jun 29, 2007 12:10 UTC (Fri) by pixelbeat (guest, #7440) [Link]

Also have a look at the ps_mem.py tool

ELC: How much memory are applications really using?

Posted Sep 20, 2007 16:06 UTC (Thu) by pixelbeat (guest, #7440) [Link]

I've just updated ps_mem.py to use PSS when available:

http://www.pixelbeat.org/scripts/ps_mem.py

ELC: How much memory are applications really using?

Posted Mar 3, 2015 20:56 UTC (Tue) by rael (guest, #40124) [Link]

I've just written coremem.go, inspired by @pixelb's ps_mem; Any comments or improvements idea are welcome here and github:

https://github.com/crquan/coremem

Improvements over pixelb's python script:

1) written with Go language's concurrent model that makes it run much faster, on a server with 1400 processes running this takes 2s to print results, vs. the ps_mem.py takes 36s; Go compiler's default output is a static binary, makes it useful with hosts where there is no python.

2) ignoring access permission error if run with normal user id, this is useful for desktop users, they can get core mem information for their own processes, while administrator can still run with sudo for the whole system.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds