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