224 lines
8.3 KiB
HTML
224 lines
8.3 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Dump Main Memory Information (DMPMEMINF)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="DMPMEMINF.Top_Of_Page"></a>
|
|
<h2>Dump Main Memory Information (DMPMEMINF)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#DMPMEMINF.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#DMPMEMINF.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#DMPMEMINF.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="DMPMEMINF"></a>
|
|
<p>The Dump Main Memory Information (DMPMEMINF) command dumps information about pages of main memory to a file.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>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.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>This command is shipped with public *EXCLUDE authority.
|
|
</li>
|
|
<li>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.
|
|
</li>
|
|
<li>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.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="DMPMEMINF.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#DMPMEMINF.OUTFILE"><b>OUTFILE</b></a></td>
|
|
<td valign="top">File to receive output</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: File to receive output</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, *LIBL, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="3"><a href="#DMPMEMINF.OUTMBR"><b>OUTMBR</b></a></td>
|
|
<td valign="top">Output member options</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Member to receive output</td>
|
|
<td valign="top">
|
|
<i>Name</i>, <b><u>*FIRST</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Replace or add records</td>
|
|
<td valign="top">
|
|
<b><u>*REPLACE</u></b>, *ADD</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#DMPMEMINF.NBRPAGE"><b>NBRPAGE</b></a></td>
|
|
<td valign="top">Number of pages</td>
|
|
<td valign="top"><i>Unsigned integer</i>, <b><u>10000</u></b>, *ALL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="DMPMEMINF.OUTFILE"></a>
|
|
<h3>File to receive output (OUTFILE)</h3>
|
|
<p>Specifies the library and database file to which the output of the command is directed. If the file does not exist, this command creates a database file in the specified library, using file QAPYDMPMEM in library QSYS as a model. If the file is created, the public authority for the file is the same as the create authority specified for the library in which the file is created. Use the Display Library Description (DSPLIBD) command to show the library's create authority.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Qualifier 1: File to receive output</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the database file to which the command output is directed.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*LIBL</b></dt>
|
|
<dd>The library list is used to locate the file. If the file is not found, one is created in the current library. If no current library exists, the file will be created in the QGPL library.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the file. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library used to locate the output file.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="DMPMEMINF.OUTMBR"></a>
|
|
<h3>Output member options (OUTMBR)</h3>
|
|
<p>Specifies the name of the database file member that receives the output of the command.
|
|
</p>
|
|
<p><b>Element 1: Member to receive output</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*FIRST</u></b></dt>
|
|
<dd>The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the member does not exist, the system creates a member with the name of the file specified for the <b>File to receive output (OUTFILE)</b> parameter. If the member already exists, you have the option to add new records to the end of the existing member or clear the member and then add the new records.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the file member that receives the output. If it does not exist, the system creates it.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Replace or add records</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*REPLACE</u></b></dt>
|
|
<dd>The system clears the existing member and adds the new records.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*ADD</b></dt>
|
|
<dd>The system adds the new records to the end of the existing records.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="DMPMEMINF.NBRPAGE"></a>
|
|
<h3>Number of pages (NBRPAGE)</h3>
|
|
<p>Specifies the number of main memory pages for which information records will be written to the output file. A uniform distribution of main memory pages will be processed.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>10000</u></b></dt>
|
|
<dd>Ten thousand main memory pages will have information written to the output file.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All main memory pages will have information written to the output file.
|
|
</dd>
|
|
<dt><b><i>unsigned-integer</i></b></dt>
|
|
<dd>Specify the number of main memory pages for which information is to be written to the output file.
|
|
<p>
|
|
<b>Note: </b>The actual number of pages processed may be smaller than the number specified due to pages not being accessible or dynamic changes to main memory size in a logical partition (LPAR).
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="DMPMEMINF.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Dump a Sample of Main Memory</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
DMPMEMINF OUTFILE(MYLIB/DMPMEM) OUTMBR(TEST1)
|
|
NBRPAGE(20000)
|
|
</pre>
|
|
</p>
|
|
<p>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.
|
|
</p>
|
|
<p><b>Example 2: Dump All Main Memory Page Information</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
DMPMEMINF OUTFILE(MYLIB/DMPMEM) OUTMBR(TEST2)
|
|
NBRPAGE(*ALL)
|
|
</pre>
|
|
</p>
|
|
<p>This command dumps information about all available main memory pages to file DMPMEM in library MYLIB. The records will be written to member TEST2.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="DMPMEMINF.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF9860</b></dt>
|
|
<dd>Error occurred during output file processing.
|
|
</dd>
|
|
<dt><b>CPF98A2</b></dt>
|
|
<dd>Not authorized to &1 command.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DMPMEMINF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|