3 ms·
There is also ps_mem.py: https://github.com/pixelb/ps_mem https://github.com/pixelb/ps_mem "A utility to accurately report the core memory usage for a program.
by ashayh 9y ago
There is also ps_mem.py:
https://github.com/pixelb/ps_mem https://github.com/pixelb/ps_mem
"A utility to accurately report the core memory usage for a program."
- brendangregg 9y agoThat's not measuring working set size. It's showing usage in terms resident memory, as you see in many tools (by process, not by program). But you don't know how much of that memory is active or is cold. That's what WSS measures: active memory.
- minxomat 9y agoSee also treetop, which shows accurate memory usage for a process tree: https://github.com/turbo/treetop https://github.com/turbo/treetop