Tony Lawrence: showmem script
#!/bin/sh for i in 10 11 12 13 14 15 do case $i in 10) blk=A;; 11) blk=B;; 12) blk=C;; 13) blk=D;; 14) blk=E;; 15) blk=F;; esac for j in 0 1 2 3 do skp=`expr $i \* 4 + $j` case $j in 0) echo " ${blk}0000 contains:";; 1) echo " ${blk}4000 contains:";; 2) echo " ${blk}8000 contains:";; 3) echo " ${blk}C000 contains:";; esac dd if=/dev/mem bs=16k skip=$skp count=1 2> /dev/null | hd | sed -n "1,4p" done done | pg
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
-> -> Unix Programs: showmem script
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Photos for Mac: A Take Control Crash Course
Take control of Apple TV, Second Edition
Take Control of iCloud
Take Control of Security for Mac Users
Take Control of Upgrading to Sierra
More Articles by Tony Lawrence
Find me on Google+
© 2009-11-07 Tony Lawrence
Printer Friendly Version
showmem- shows contents of memory pages Copyright © December 1997 Tony Lawrence
Have you tried Searching this site?
Support RatesThis is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.
Contact us
Printer Friendly Version