mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-27 13:40:22 +00:00
12 lines
193 B
Bash
Executable File
12 lines
193 B
Bash
Executable File
#!/bin/sh
|
|
|
|
busybox=../busybox
|
|
|
|
$busybox sleep 10 &
|
|
pid=$!
|
|
sleep 1
|
|
|
|
echo "Memory map of '$busybox sleep 10':"
|
|
size $busybox
|
|
pmap $pid | env - grep "^[0-9a-f][0-9a-f]* " | sort -r -t " " -k2,999
|