I've just updated ps_mem.py to use PSS when available:
ELC: How much memory are applications really using?
Posted Mar 3, 2015 20:56 UTC (Tue) by rael (guest, #40124)
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