376 lines
17 KiB
HTML
376 lines
17 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>End Performance Explorer (ENDPEX)</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="ENDPEX.Top_Of_Page"></a>
|
||
|
<h2>End Performance Explorer (ENDPEX)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>Conditional
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#ENDPEX.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ENDPEX.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ENDPEX.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ENDPEX"></a>
|
||
|
<p>The End Performance Explorer (ENDPEX) command instructs the Performance Explorer tool to stop collecting data. The command expects a session name to accompany the request which identifies which instance of the Performance Explorer session to end.
|
||
|
</p>
|
||
|
<p>The user can either end the data collection session or suspend the data collection session. If the user chooses to end the session, the collected data is put into an object of type *MGTCOL or into a set of database files, or it is deleted, based on the value specified for the DTAOPT parameter.
|
||
|
</p>
|
||
|
<p>If the user chooses to suspend the collection of performance data, the session remains active. To resume data collection for a suspended session, the user can specify OPTION(*RESUME) on a subsequent call of the STRPEX (Start Performance Explorer) command.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>This command is shipped with public *EXCLUDE authority.
|
||
|
</li>
|
||
|
<li>The user must have *ADD and *EXECUTE authority to the specified DTALIB and MGTCOL libraries.
|
||
|
</li>
|
||
|
<li>The user must have *OBJMGMT, *OBJEXIST, and use authorities to the managment collection object if replacing an existing management collecton object.
|
||
|
</li>
|
||
|
<li>To use this command you must have *SERVICE special authority, or be authorized to the Service Trace function of i5/OS through iSeries Navigator's Application Administration support. The Change Function Usage Information (QSYCHFUI) API, with a function ID of QIBM_SERVICE_TRACE, can also be used to change the list of users that are allowed to perform trace operations.
|
||
|
</li>
|
||
|
<li>The following user profiles have private authorities to use the command:
|
||
|
<ul>
|
||
|
<li>QPGMR
|
||
|
</li>
|
||
|
<li>QSRV
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>If running ENDPEX from a secondary thread, the QAYPE* files must already exist in the DTALIB library. These files must be created in the primary thread by running ENDPEX DTAOPT(*LIB).
|
||
|
</li>
|
||
|
<li>If running ENDPEX from a secondary thread, DTAOPT(*MGTCOL) object cannot be specified.
|
||
|
</li>
|
||
|
<li>Two threads within the same job will not be allowed to run ENDPEX at the same time. The thread that issued ENDPEX first will run the command to completion while the second ENDPEX waits.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ENDPEX.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"><a href="#ENDPEX.SSNID"><b>SSNID</b></a></td>
|
||
|
<td valign="top">Session ID</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*SELECT</u></b></td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.OPTION"><b>OPTION</b></a></td>
|
||
|
<td valign="top">Option</td>
|
||
|
<td valign="top"><b><u>*END</u></b>, *SUSPEND, *STOP</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.DTAOPT"><b>DTAOPT</b></a></td>
|
||
|
<td valign="top">Data option</td>
|
||
|
<td valign="top"><b><u>*LIB</u></b>, *MGTCOL, *DLT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.DTALIB"><b>DTALIB</b></a></td>
|
||
|
<td valign="top">Data library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QPEXDATA</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.DTAMBR"><b>DTAMBR</b></a></td>
|
||
|
<td valign="top">Data member</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*SSNID</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#ENDPEX.MGTCOL"><b>MGTCOL</b></a></td>
|
||
|
<td valign="top">Management collection</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Management collection</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*SSNID</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QPEXDATA</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#ENDPEX.RPLDTA"><b>RPLDTA</b></a></td>
|
||
|
<td valign="top">Replace data</td>
|
||
|
<td valign="top"><b><u>*NO</u></b>, *YES</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.NBRTHD"><b>NBRTHD</b></a></td>
|
||
|
<td valign="top">Number of threads</td>
|
||
|
<td valign="top">1-256, <b><u>*CALC</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDPEX.TEXT"><b>TEXT</b></a></td>
|
||
|
<td valign="top">Text 'description'</td>
|
||
|
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ENDPEX.SSNID"></a>
|
||
|
<h3>Session ID (SSNID)</h3>
|
||
|
<p>Specifies which Performance Explorer session to end. This is the session identifier that was specified on the STRPEX (Start Performance Explorer) command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SELECT</u></b></dt>
|
||
|
<dd>A list panel of all active Performance Explorer data collection sessions will be displayed with an option to select which session to end. *SELECT is only valid if the ENDPEX command is being run interactively. If the command is being run in batch, a session identifier must be specified.
|
||
|
</dd>
|
||
|
<dt><b><i>session-identifier</i></b></dt>
|
||
|
<dd>Specify the Performance Explorer data collection session to end.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.OPTION"></a>
|
||
|
<h3>Option (OPTION)</h3>
|
||
|
<p>Specifies whether to end the data collection session or just suspend collection of performance data for the session.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*END</u></b></dt>
|
||
|
<dd>The Performance Explorer session is ended. The user is prompted for a choice of three methods to handle the collected data:
|
||
|
<ol>
|
||
|
<li>Save the collected data to a set of database files.
|
||
|
</li>
|
||
|
<li>Save the data to a single file (used for sending data to IBM for analysis).
|
||
|
</li>
|
||
|
<li>Discard the data.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</dd>
|
||
|
<dt><b>*SUSPEND</b></dt>
|
||
|
<dd>The Performance Explorer session is suspended, and the session remains active but no additional data is collected for this session. Once a session is suspended, the user can use STRPEX with OPTION(*RESUME) to resume data collection, end the suspended session by specifying ENDPEX with OPTION(*END), or stop the suspended session by specifying ENDPEX with OPTION(*STOP).
|
||
|
</dd>
|
||
|
<dt><b>*STOP</b></dt>
|
||
|
<dd>The Performance Explorer session is ended and the jobs are removed from the collection. The session cannot be started up again. Addresses are not resolved to object names, and no database files are created. The address data and database files can be created at a later time with the OPTION(*END) and DTAOPT(*LIB or *MGTCOL) options of ENDPEX. However, Performance Explorer may not be able to resolve some of the addresses if objects get deleted. The longer the time between *STOP and *END, the greater the chance the resolved address data will be incomplete.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.DTAOPT"></a>
|
||
|
<h3>Data option (DTAOPT)</h3>
|
||
|
<p>Specifies how to handle the collected data. The collected data can be stored in a set of database files or a management collection object (*MGTCOL), or both. The temporary management collection object used to hold the collected data will be deleted. To delete the temporary management collection object without storing the collected data, specify *DLT.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is valid only if OPTION(*END) is specified.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIB</u></b></dt>
|
||
|
<dd>Indicates to store all of the collected performance data for the session into a set of database files located in the library specified on the DTALIB parameter. The Performance Explorer tool creates all the necessary files if this is the first time that a library is being used to store performance data. The member name for each of the files where the session data is stored can be controlled through the DTAMBR parameter, but defaults to be the same name as the session identifier.
|
||
|
</dd>
|
||
|
<dt><b>*MGTCOL</b></dt>
|
||
|
<dd>Indicates to store all of the collected data in a management collection object (type *MGTCOL). No database files will be created. This option can be used if the data is to be shipped to another system or to your service provider for analysis.
|
||
|
</dd>
|
||
|
<dt><b>*DLT</b></dt>
|
||
|
<dd>The collected performance data for the session is to be deleted from the system.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.DTALIB"></a>
|
||
|
<h3>Data library (DTALIB)</h3>
|
||
|
<p>Specifies the name of the library that contains the set of database files where the collected performance data is stored.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is valid only if the user specified DTAOPT(*LIB).
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>QPEXDATA</u></b></dt>
|
||
|
<dd>The QPEXDATA library is the recommended library for storing data collected with the Performance Explorer tool. The first time the Performance Explorer tool is used, this library is created for the user, and a set of database files to store the information is created in that library.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specifies the name of the library in which to store the collected data. If the library does not exist, the command ends in an error condition. After the library is created, retry the command. If the specified library does not already have the performance database files, they are created and the data is stored.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.DTAMBR"></a>
|
||
|
<h3>Data member (DTAMBR)</h3>
|
||
|
<p>Specifies the name to be used for the database file members where the collected performance data is stored. If a member does not exist by the specified name, it is created.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is valid only when DTAOPT(*LIB) is specified.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SSNID</u></b></dt>
|
||
|
<dd>The member name is the same as the value specified for the SSNID parameter.
|
||
|
</dd>
|
||
|
<dt><b><i>member-name</i></b></dt>
|
||
|
<dd>Specify the member name to use when storing the collected data in Performance Explorer database files.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.MGTCOL"></a>
|
||
|
<h3>Management collection (MGTCOL)</h3>
|
||
|
<p>Specifies the name of a management collection object to store the collected performance data.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is valid only if DTAOPT(*MGTCOL) is specified.
|
||
|
</p>
|
||
|
<p>The *MGTCOL object name can be qualified by one of the following library values:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<dl>
|
||
|
<dt><b><u>QPEXDATA</u></b></dt>
|
||
|
<dd>The QPEXDATA library is the recommended library for storing data collected by the Performance Explorer tool. The first time the Performance Explorer tool is used, this library is created for the user.
|
||
|
</dd>
|
||
|
<dt><b><i>data-library-name</i></b></dt>
|
||
|
<dd>Specify the name of the library to store the collected data. If the library does not exist, the command ends in an error condition. After the library is created, retry the command.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<dl>
|
||
|
<dt><b><u>*SSNID</u></b></dt>
|
||
|
<dd>The name specified for the SSNID parameter is used when creating the management collection object to contain the collected performance data.
|
||
|
</dd>
|
||
|
<dt><b><i>management-collection-name</i></b></dt>
|
||
|
<dd>Specify the name to use when creating the management collection object to contain the collected performance data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.RPLDTA"></a>
|
||
|
<h3>Replace data (RPLDTA)</h3>
|
||
|
<p>Specifies whether to replace the data in an existing file member or management collection object with the new performance data. If DTAMBR was specified and a member with the same name already exists in any of the Performance Explorer database files in the specified library (DTALIB parameter), this parameter controls whether the member data is replaced. If MGTCOL was specified and an object already exists with the same name, this parameter controls whether the data in that object is replaced.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>If a member already exists with the same name, an error message is sent to the user. This prevents the user from inadvertently writing over existing data.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>If a member already exists with the same name, the old data is lost and is replaced by the new data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.NBRTHD"></a>
|
||
|
<h3>Number of threads (NBRTHD)</h3>
|
||
|
<p>Specifies the number of concurrent threads that the ENDPEX command uses to process the data in the session being ended. Specifying a number greater than 1 allows the ENDPEX command to take advantage of available CPU cycles, especially on a multi-processor system. While this may speed up the command processing, it may also degrade the performance of other jobs on the system. You can minimize this impact by changing the priority of the job that runs the ENDPEX command to a higher number. You should also verify that the disk subsystem can handle the additional threads.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CALC</u></b></dt>
|
||
|
<dd>The system calculates a reasonable number of threads to do the command processing which does not use excessive CPU or disk resources.
|
||
|
</dd>
|
||
|
<dt><b>*MAX</b></dt>
|
||
|
<dd>The system calculates a maximum number of threads to do the command processing. An attempt will be made to maximize utilization on all resources to minimize processing time. This may cause severe degradation for all other jobs on the system.
|
||
|
</dd>
|
||
|
<dt><b><i> number-of-threads</i></b></dt>
|
||
|
<dd>Specify the number of threads for the ENDPEX command to use to process the collected data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDPEX.TEXT"></a>
|
||
|
<h3>Text 'description' (TEXT)</h3>
|
||
|
<p>Specifies the text that briefly describes the type of data collected.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*BLANK</u></b></dt>
|
||
|
<dd>Text is not specified.
|
||
|
</dd>
|
||
|
<dt><b><i>'description'</i></b></dt>
|
||
|
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDPEX.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: End a Session and Save the Database Files</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDPEX SSNID(TEST3) OPTION(*END) DTAOPT(*LIB)
|
||
|
DTAMBR(SYS1DATA)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends the performance explorer session named TEST3 and saves the data in a set of database files in library QPEXDATA. The member name to be used for each file is SYS1DATA.
|
||
|
</p>
|
||
|
<p><b>Example 2: End a Session and Delete the Data</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDPEX SSNID(TESTRUN) OPTION(*END) DTAOPT(*DLT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends the performance explorer session named TESTRUN and deletes the collected performance data.
|
||
|
</p>
|
||
|
<p><b>Example 3: End a Session and Save the *MGTCOL</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDPEX SSNID(TEST3) OPTION(*END) DTAOPT(*MGTCOL)
|
||
|
MGTCOL(MYLIB/SYS1DATA) NBRTHD(*CALC)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends the performance explorer session named TEST3 and saves the data in a management collection object in library MYLIB in the management collection object named SYS1DATA. ENDPEX will calculate a number of threads to process this request. This number of threads will do the ENDPEX processing as quickly as possible without disrupting the rest of the system.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDPEX.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPFAF06</b></dt>
|
||
|
<dd>ENDPEX command was not successful. Reason code is &1. See details for more information.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDPEX.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|