100 lines
8.4 KiB
HTML
100 lines
8.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="concept" />
|
|
<meta name="DC.Title" content="Prestart job investigation" />
|
|
<meta name="abstract" content="This topic provides steps to help you answer the question, "How do I find the real user of a prestart job and determine the resources used by that prestart job?"" />
|
|
<meta name="description" content="This topic provides steps to help you answer the question, "How do I find the real user of a prestart job and determine the resources used by that prestart job?"" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakstroubleshoot.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksprestartentry.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksaddprestrtjobentry.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakschgprestrtentry.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksrmvprestrtjobentry.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakspjeforservers.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaksfindperforminfo" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Prestart job investigation</title>
|
|
</head>
|
|
<body id="rzaksfindperforminfo"><a name="rzaksfindperforminfo"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Prestart job investigation</h1>
|
|
<div><p>This topic provides steps to help you answer the question, "How
|
|
do I find the real user of a prestart job and determine the resources used
|
|
by that prestart job?"</p>
|
|
<div class="section"><h4 class="sectiontitle">iSeries Navigator</h4><p>You can use iSeries™ Navigator
|
|
work management views and the Management Central monitors for a real time
|
|
analysis of what is happening on your system. </p>
|
|
<div class="p"> <ol><li>Use the Server Jobs view to see the active server jobs and the current
|
|
user. (<span class="menucascade"><span class="uicontrol">My Connections</span> > <span class="uicontrol">server</span> > <span class="uicontrol">Work Management</span> > <span class="uicontrol">Server Jobs</span></span>)<ul><li>Right-click the Server Jobs container and select <span class="menucascade"><span class="uicontrol">Customize
|
|
this view</span> > <span class="uicontrol">Columns</span></span> and make
|
|
sure that the Current<sup>®</sup> User,
|
|
Total CPU Time, and Total CPU DB Time are in the <span class="uicontrol">Columns to be
|
|
displayed </span> list.</li>
|
|
<li>If your active server job list is large, you can limit what is displayed
|
|
by a job name, job number, current user, or status. Right-click the Server
|
|
Jobs container and click <span class="menucascade"><span class="uicontrol">Customize this view</span> > <span class="uicontrol">Include</span></span> .</li>
|
|
<li>You can sort the display order of the active server job list by clicking
|
|
on the column headings.</li>
|
|
<li>You can set the display to automatically refresh at regular intervals.
|
|
(<span class="menucascade"><span class="uicontrol">My Connections</span> > <span class="uicontrol">Right-click
|
|
the server</span> > <span class="uicontrol">Customize this view</span> > <span class="uicontrol">Auto
|
|
Refresh</span></span> ) This can help you spot any immediate changes.</li>
|
|
</ul>
|
|
<p>Once you have located a job of interest, you can right-click the job
|
|
and access the job's call stack, job log, elapsed performance statistics,
|
|
last SQL statement, and the job's properties.</p>
|
|
</li>
|
|
<li>Use Management Central to set up a system monitor that will monitor the
|
|
overall CPU Utilization. (<span class="menucascade"><span class="uicontrol">Management Central</span> > <span class="uicontrol">Monitors</span> > <span class="uicontrol">Right-click System</span> > <span class="uicontrol">New
|
|
Monitor</span></span>)<ul><li>While the monitor is running, you can click one of the points to view
|
|
the next level of detail. For example, when monitoring CPU Utilization you
|
|
can display a list of jobs that have the highest CPU utilization. You can
|
|
then right-click a job that is using a lot of CPU and click <span class="uicontrol">Properties</span> to
|
|
display the job's properties. (See the online help for more information about
|
|
how to use the system monitor.)</li>
|
|
</ul>
|
|
</li>
|
|
<li>Use Management Central to set up a job monitor to monitor appropriate
|
|
server jobs and notify you when those jobs start consuming excessive resources.
|
|
(<span class="menucascade"><span class="uicontrol">Management Central</span> > <span class="uicontrol">Monitors</span> > <span class="uicontrol">Right-click Job </span> > <span class="uicontrol">New Monitor</span></span>)</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="section"><img src="./delta.gif" alt="Start of change" /><h4 class="sectiontitle">Character-based interface</h4><p><strong>Command: </strong>Work
|
|
with Active Job (<span class="cmdname">WRKACTJOB</span>)</p>
|
|
<p> This command displays
|
|
the current user of the initial thread (which is the job when the job is single
|
|
threaded). This is the same data that is shown in the GUI. </p>
|
|
<img src="./deltaend.gif" alt="End of change" /></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakstroubleshoot.htm" title="Use the information in this topic to help you troubleshoot some of the most common problems that occur in work management.">Troubleshooting</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzaksprestartentry.htm" title="You define the prestart job by using a prestart job entry. A prestart job entry does not affect the device allocation or program start request assignment.">Prestart job entries</a></div>
|
|
<div><a href="rzakspjeforservers.htm" title="In the prestart job model there is one primary listening job, generally called the daemon job or listener job, and multiple server jobs that process the client requests. The daemon job listens on the port for connection requests. When a new connection is received, the daemon does some general work, then gives the socket descriptor to a waiting prestart server job.">Prestart jobs for servers</a></div>
|
|
</div>
|
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
|
<div><a href="rzaksaddprestrtjobentry.htm" title="Prestart job entries identify prestart jobs that may be started when the subsystem is started or when the Start Prestart Jobs (STRPJ) command is entered. You can add prestart job entries to the subsystem description by using the character-based interface.">Add prestart job entries</a></div>
|
|
<div><a href="rzakschgprestrtentry.htm" title="You can change a prestart job entry in the specified subsystem description. The subsystem may be active when the prestart job entry is changed. Changes made to the entry when the subsystem is active are reflected over time. Any new prestart jobs started after the command is issued use the new job-related values. This command identifies prestart jobs that are started when the subsystem is started or when the Start Prestart Jobs (STRPJ) command is issued.">Change prestart entries</a></div>
|
|
<div><a href="rzaksrmvprestrtjobentry.htm" title="You can remove prestart job entries from the subsystem description by using the character-based interface. A prestart job entry cannot be removed if any currently active jobs were started using the entry.">Remove prestart job entries</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |