traceroute: preparatory trivial cleanups
[oweals/busybox.git] / 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