3
0

sample_pmap 193 B

1234567891011
  1. #!/bin/sh
  2. busybox=../busybox
  3. $busybox sleep 10 &
  4. pid=$!
  5. sleep 1
  6. echo "Memory map of '$busybox sleep 10':"
  7. size $busybox
  8. pmap $pid | env - grep "^[0-9a-f][0-9a-f]* " | sort -r -t " " -k2,999