onstat -g dmp command: Print raw memory

Use the onstat -g dmp command to display information about raw memory at a given address for a number of given bytes.

Read syntax diagramSkip visual syntax diagram

>>-onstat-- -g--dmp--address--length---------------------------><

Each address and length must be within the allocated memory shown from onstat -g seg output. The address specified can be in decimal or hexadecimal format. Hexadecimal addresses must begin with 0x. You can specify the address in decimal, but doing so requires converting the memory shown from onstat -g seg to decimal before using it as a command line argument.

Example output

Figure 1. onstat -g dmp command output
%onstat -g dmp 0x700000011a19d48 100

address           bytes in mem
0700000011a19d48: 07000000 118e0fa8 07000000 11942b40 ........ ......+@
0700000011a19d58: 07000000 10137120 00000000 00000000 ......q ........
0700000011a19d68: 00000000 00000000 00000000 00000000 ........ ........
0700000011a19d78: 07000000 11a19d48 07000000 11a19d48 .......H .......H
0700000011a19d88: 00000000 00000000 00000000 00000000 ........ ........
0700000011a19d98 *
0700000011a19da8: 00000000 ....

Output description

Memory address of the raw memory.
bytes in mem
Hexadecimal and ASCII representations of the memory contents.
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 fifth line of data displays zeros and the sixth line contains an asterisk. The asterisk indicates an unknown number of repetitions of the previous line, which means that there is no more data after the fourth line.

Copyright© 2018 HCL Technologies Limited