Sign in
nest-open-source
/
nest-hello
/
507800056
/
busybox
/
93bb1df950bc8e64dad7b804ca2f5050e3772296
/
.
/
scripts
/
sample_pmap
blob: e7fb4571dacc6fd1843ec481c1cd4ae64d56709f [
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