CL Command Reference - DMPMEMINF
CL Command List > DMPMEMINF Reference
Description:
The Dump Main Memory Information (DMPMEMINF) command dumps information about pages of main memory to a file.
Note: It is recommended that this command be run in its own storage pool to avoid changing which main memory pages are resident in the storage pools being dumped.
Restrictions:
. This command is shipped with public *EXCLUDE authority.
. You will need to be authorized to the output file and library. Refer to Appendix D of the iSeries Security Reference, SC41-5302 for detailed authority requirements.
. To use this command, you must have service (*SERVICE) special authority, or be authorized to the Service Dump function of the operating system through iSeries Navigator¡¯s Application Administration support. The Change Function Usage (CHGFCNUSG) command with a function ID of QIBM_SERVICE_DUMP can also be used to change the list of users that are allowed to perform dump operations.
Examples:
Example 1: Dump a Sample of Main Memory
DMPMEMINF OUTFILE(MYLIB/DMPMEM) OUTMBR(TEST1)
NBRPAGE(20000)
This command dumps information about a sample of up to twenty thousand main memory pages to file DMPMEM in library MYLIB. The records will be written to member TEST1.
Example 2: Dump All Main Memory Page Information
DMPMEMINF OUTFILE(MYLIB/DMPMEM) OUTMBR(TEST2)
NBRPAGE(*ALL)
This command dumps information about all available main memory pages to file DMPMEM in library MYLIB. The records will be written to member TEST2.