> On (24/01/10 18:35), pmarin wrote:
> > Hi all.
> > Anyone know how to know the size (kb) of a process in Linux?
> > using the proc filesystem I can know the number of pages that it uses
> > (/proc/pid/statm). How I can convert
> > it to kb? Any posix way?

Here's some funny script [1] I'm aware of, provides a nice lookup table
if you really care about these things. Not really sure if you can rely
on it, every program I run gives different values when talking about ram
(htop, free, this ps_mem).

Regards,
Ted

[1] http://www.pixelbeat.org/scripts/ps_mem.py

Reply via email to