projects
/
external
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e7fb4571dacc6fd1843ec481c1cd4ae64d56709f
[external/busybox.git]
/
util-linux
/
scripts
/
sample_pmap
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