Hi,

I am using tracemem() to dump some memory contents.  When the contents
of the memory contain a mix of binary and ascii, the output looks like:

             0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  
f                    0123456789abcdef
         0:  2f  79 2e 20 2e 9e 2e  fc  fe 2e 2e 38 2e 0a 34 38    /y. 
.......8..48
        10: 34 32 35 2c 20 72 65 6d 6f 74 65 20 69 70 3a 20  425, remote 
ip:
        20: 31 32 37 2e 30 2e 30 2e 31 2c 20 72 65 6d 6f 74  127.0.0.1, 
remot
         ...

But when the contents are all ascii, the output looks like:

10th
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
a
AAA
AAAS
Aarhus
Aaron
...

So, any chance of getting the format to be consistent?  It would make 
scripting
much easier if I always got the output with first hex, then ascii or ".".

thanks,
max

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to