Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ps_mem.py feature request #9

lahwaacz opened this Issue Mar 6, 2013 · 1 comment


None yet
2 participants

lahwaacz commented Mar 6, 2013

ps_mem.py is great, but one feature is missing: it doesn't count memory used as tmpfs. It would be nice to see if my /tmp uses more space than it should...


pixelb commented May 15, 2013

Well space in tmpfs can persist across process lifetime and so is outside the remit of ps_mem.py really?
I see this more appropriate for a more general top tool, would itemize such RAM usage.
More problematically tmpfs can be backed by swap, so I'm not sure if you could determine the amount of real RAM used by tmpfs?

As reference to see RAM+SWAP used for tmpfs you could (using coreutils >= 8.21)@
$ numfmt --to=iec-i --suffix=B $(df -B1 -t tmpfs --total --output=used | tail -n1)

@pixelb pixelb closed this May 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment