onstat -g dmp Dump shared memory address

The onstat -g dmp command dumps shared memory starting at the specified address and for the desired number of bytes.

In earlier verions, the onstat -g dmp command requires the hexadecimal address listed first in 0x00000000 format followed by the number of bytes. Later versions will accept decimal and hexadecimal numbers. If the address is taken from onstat -g seg then the the value used must be preceded by 0x or converted to decimal

address              bytes in mem
0000000067b4c000: b7e00200 01000900 ffffffff 00000000   ........ ........
0000000067b4c010: 00000000 00000000 00000000 00000000   ........ ........
0000000067b4c020  *
0000000067b4c200: 00000000 00000000 0000d007 00000008   ........ ........
0000000067b4c210: 02485652 02485652 dd4f0000 f5010000   .HVR.HVR .O......
0000000067b4c220: 00c0b467 00000000 48761700 00000000   ...g.... Hv......
0000000067b4c230: 00000000 00000000 00000000 00000000   ........ ........
0000000067b4c240: 00000000 00000000 00000044 00000000   ........ ...D....
0000000067b4c250: 00c0846f 00000000                     ...o....

Output from the command is divided into three columns: memory address, hexadecimal values for the bytes in memory, and the ASCII representation of the bytes in memory. The bytes in memory (middle) section displays the first 16 bytes of memory starting at the address specified on the command line. The third column shows the ASCII representation of the hexadecimal data. Periods are displayed for all hexadecimal values that do not have an ASCII character equivalent. ASCII values are shown in order to make searching for plain text easier.

In the example output shown, the second line of data displays zeros and the third line contains an asterisk. The asterisk indicates an unknown number of repetitions of the previous line, which means that there is no more data until the fifth line.