Kernel module to dump Used heap/stack of a user process

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue May 15 12:47:39 EDT 2012


Hi...

On Tue, May 15, 2012 at 10:30 AM, Dhyan <linuxdhyan at gmail.com> wrote:

> But my problem as like mentioned is to find out the exact used heap size of
> the user process instead of total allocated space.

try to check how /proc/<pid>/smaps calculate RSS fields....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list