source:
MondoRescue/branches/2.2.9/mindi-busybox/scripts/sample_pmap@
3598
Last change on this file since 3598 was 3320, checked in by , 10 years ago | |
---|---|
|
|
File size: 193 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | busybox=../busybox |
4 | |
5 | $busybox sleep 10 & |
6 | pid=$! |
7 | sleep 1 |
8 | |
9 | echo "Memory map of '$busybox sleep 10':" |
10 | size $busybox |
11 | pmap $pid | env - grep "^[0-9a-f][0-9a-f]* " | sort -r -t " " -k2,999 |
Note:
See TracBrowser
for help on using the repository browser.