87 lines
6.2 KiB
HTML
87 lines
6.2 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="task" />
|
||
|
<meta name="DC.Title" content="View thread properties" />
|
||
|
<meta name="abstract" content="Threads allow jobs to do more than one thing at a time. If a thread stops processing, it can stop the job from running. The iSeries Navigator Thread Properties windows allow you to view various thread and thread performance attributes that can aid in understanding why a thread is not running." />
|
||
|
<meta name="description" content="Threads allow jobs to do more than one thing at a time. If a thread stops processing, it can stop the job from running. The iSeries Navigator Thread Properties windows allow you to view various thread and thread performance attributes that can aid in understanding why a thread is not running." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaksmanagethreads.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaksthreadstructure.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../rzahw/rzahwendco.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../apis/users_g4.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="rzaksvwthreadprop" />
|
||
|
<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>View thread properties</title>
|
||
|
</head>
|
||
|
<body id="rzaksvwthreadprop"><a name="rzaksvwthreadprop"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">View thread properties</h1>
|
||
|
<div><p>Threads allow jobs to do more than one thing at a time. If a thread
|
||
|
stops processing, it can stop the job from running. The iSeries™ Navigator
|
||
|
Thread Properties windows allow you to view various thread and thread performance
|
||
|
attributes that can aid in understanding why a thread is not running.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmanagethreads.htm" title="There are many tasks that you can do when managing threads.">Manage threads</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzaksthreadstructure.htm" title="The term thread is shorthand for "thread of control". A thread is the path taken by a program while running, the steps performed, and the order in which the steps are performed. A thread runs code from its starting location in an ordered, predefined sequence for a given set of inputs.">Threads</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../rzahw/rzahwendco.htm">Example: End a thread using Java</a></div>
|
||
|
<div><a href="../apis/users_g4.htm">Thread management APIs</a></div>
|
||
|
</div>
|
||
|
</div><div class="nested1" xml:lang="en-us" id="navvwthreadprop"><a name="navvwthreadprop"><!-- --></a><h2 class="topictitle2">iSeries Navigator</h2>
|
||
|
<div><div class="section">To view the attributes of a thread, do the following:</div>
|
||
|
<ol><li><span>In iSeries Navigator,
|
||
|
expand <span class="menucascade"><span class="uicontrol">My Connections</span> > <span class="uicontrol">server</span> > <span class="uicontrol">Work Management</span> > <span class="uicontrol">Active Jobs</span></span> or <span class="uicontrol">Server
|
||
|
Jobs</span>.</span></li>
|
||
|
<li><span>Right-click the job with which you want to work, and click <span class="menucascade"><span class="uicontrol">Details</span> > <span class="uicontrol">Threads</span></span>.</span></li>
|
||
|
<li><span>Right-click the thread with which you want to work, and click <span class="uicontrol">Properties</span>.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"><p>The information under the General tab allows you to view the attributes
|
||
|
of a thread. These attributes include the thread identifier, the detailed
|
||
|
status of the thread, the current user, the type of thread running, the job
|
||
|
the thread is running under, and the disk pool group the thread is running
|
||
|
in.</p>
|
||
|
<p>The information under the Performance tab allows you to view basic
|
||
|
performance elements and let you change the run priority of the thread. <span class="uicontrol">Run
|
||
|
priority</span> indicates the importance of the thread in relation to
|
||
|
other threads running in the system. The possible values range from job priority
|
||
|
to 99 (meaning the highest possible priority will vary). The thread run priority
|
||
|
may never be higher than the run priority for the job in which the thread
|
||
|
is running.</p>
|
||
|
<p>You can view the performance values calculated since the
|
||
|
thread started, which include CPU and total disk I/O. You can also view, refresh,
|
||
|
set up an automatic refresh, or reset the <span class="uicontrol">Elapsed performance statistics</span> that
|
||
|
have been calculated for a thread. </p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="nested1" xml:lang="en-us" id="cbirzaksthreadrununderjob"><a name="cbirzaksthreadrununderjob"><!-- --></a><h2 class="topictitle2">Character-based interface</h2>
|
||
|
<div><div class="section"><strong>Command</strong>: Work With Job (<span class="cmdname">WRKJOB</span>) </div>
|
||
|
<div class="example"><strong>Example</strong>: The following example displays the Work With Threads
|
||
|
screen for the job Crtpfrdta. <blockquote><pre>WRKJOB JOB(Crtpfrdta) OPTION(*THREAD)</pre>
|
||
|
</blockquote>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|