I was trying to write a small application similar to pmap, but more powerful.
During the writing I noticed that there are two things I can't get by parsing
/proc/$pid/smaps:
1) amount of anonymous memory in a mapping:
It is easy to get it for shared and anonymous mappings (0 for the former, and
>From 145247b8e776b32c9930018ab65bb6c5401e28ef Mon Sep 17 00:00:00 2001
From: Maxim Levitsky <[EMAIL PROTECTED]>
Date: Fri, 5 Oct 2007 08:04:03 +0200
Subject: [PATCH] Add more statistics to /proc/$pid/smaps
Add amount of swapped memory and amount of anonymous memory
to /proc/$pid/smaps
I was trying to write a small application similar to pmap, but more powerful.
During the writing I noticed that there are two things I can't get by parsing
/proc/$pid/smaps:
1) amount of anonymous memory in a mapping:
It is easy to get it for shared and anonymous mappings (0 for the former, and
From 145247b8e776b32c9930018ab65bb6c5401e28ef Mon Sep 17 00:00:00 2001
From: Maxim Levitsky [EMAIL PROTECTED]
Date: Fri, 5 Oct 2007 08:04:03 +0200
Subject: [PATCH] Add more statistics to /proc/$pid/smaps
Add amount of swapped memory and amount of anonymous memory
to /proc/$pid/smaps
4 matches
Mail list logo