3 ms·
ps_mem.py
- emmelaich 14y agoNice -- 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/ http://dag.wieers.com/home-made/dstat/
- pixelbeat 14y agoWow github is slow at present. The latest script is also at: http://www.pixelbeat.org/scripts/ps_mem.py http://www.pixelbeat.org/scripts/ps_mem.py
- rotskoff 14y agoDoes anyone know of a good method for determining memory usage within a python application?
- pixelbeat 14y agoI found this in my bookmarks: http://www.lshift.net/blog/2008/11/14/tracing-python-memory-leaks http://www.lshift.net/blog/2008/11/14/tracing-python-memory-...
- necenzurat 14y agowatch -n 1 python ps_mem.py just replaced top
- leoh 14y agoDoesn'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/ http://osxbook.com/book/bonus/chapter11/procfs/
- nteon 14y agoI've used this for years, it's one of the first things I throw onto a new server. Simply fantastic.
- curlypaul924 14y agoAmazed at the laziness these on HN these days.