Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
ps_mem.py (github.com/pixelb)
41 points by simonreed on Dec 9, 2012 | hide | past | favorite | 7 comments



Nice -- it's good to see something like this that has long been a natural niche for Perl.

See also http://dag.wieers.com/home-made/dstat/


Doesn't work on OS X since Darwin hasn't implemented /proc. But Amit Singh has some pretty interesting information about hacking together something similar.

http://osxbook.com/book/bonus/chapter11/procfs/


Does anyone know of a good method for determining memory usage within a python application?



Wow github is slow at present. The latest script is also at:

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


I've used this for years, it's one of the first things I throw onto a new server. Simply fantastic.


Amazed at the laziness these on HN these days.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: