source: branches/3.2/mindi-busybox/scripts/sample_pmap @ 3232

Last change on this file since 3232 was 2725, checked in by Bruno Cornec, 9 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • Property svn:executable set to *
File size: 193 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.