Tuesday, December 11, 2012

ps_mem shows memory use per program

scripts/scripts/ps_mem.py at master · pixelb/scripts · GitHub

Per program, not process. So total RAM used by all processes running the same program will be shown.

Interesting also as an example of writing system utilities in Python; it says in can work on a few different types of Unix kernels; I saw code for both Linux and FreeBSD in its source.

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

No comments: