source: MondoRescue/branches/2.2.9/mindi-busybox/scripts/sample_pmap@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • 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.