there is a nice little toy called "pmap.c" around for several years, now.
Should we consider?
* pmap.c: implementation of something like Solaris' /usr/proc/bin/pmap
* for linux
* Author: Andy Isaacson <email@example.com>
* Fri Jun 18 1999
* Updated Mon Oct 25 1999
* - calculate total size of shared mappings
* - change output format to read "writable/private" rather than "writable"
* Justification: the formatting available in /proc/<pid>/maps is less
* than optimal. It's hard to figure out the size of a mapping from
* that information (unless you can do 8-digit hex arithmetic in your
* head) and it's just generally not friendly. Hence this utility.
* I hereby place this work in the public domain.
* Compile with something along the lines of
* gcc -O pmap.c -o pmap
-- Dieter Nützel Graduate Student, Computer Science
University of Hamburg Department of Computer Science Cognitive Systems Group Vogt-Kölln-Straße 30 D-22527 Hamburg, Germany
email: firstname.lastname@example.org @home: Dieter.Nuetzel@hamburg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:21 EST