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

ELC: How much memory are applications really using?

ELC: How much memory are applications really using?

Posted Sep 20, 2007 16:06 UTC (Thu) by pixelbeat (guest, #7440)
In reply to: ELC: How much memory are applications really using? by pixelbeat
Parent article: ELC: How much memory are applications really using?

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

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


(Log in to post comments)

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 © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds