aboutsummaryrefslogtreecommitdiff
path: root/procps/pmap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-051-8/+8
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pmap: get rid of a warningDenys Vlasenko2010-10-221-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* pmap: new applet. +1k.Alexander Shishkin2010-08-281-0/+111
pmap is a tool used to look at processes' memory maps, normally found in procps package. It provides more readable and easily sortable output (one line per mapping) from maps/smaps files in /proc/PID/. This would help in debugging memory usage issues, especially on devices where lots of typing is not a viable option. This patch does'n implement -d and -A command line options of GNU pmap, since those are not that must have features and I was afraid of going blind from looking at its code. The implementation takes smaps scanning part out of procps_scan() function and moves it into procps_read_smaps(), which does more detailed processing of a single PID's smaps data. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>