ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5dpcjbss.htm

94 lines
5.6 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="reference" />
<meta name="DC.Title" content="Display server jobs" />
<meta name="abstract" content="There are several methods that can be used to aid in identifying server jobs. One method is to use the WRKACTJOB command. Another method is to use the WRKUSRJOB command. A third method is to display the history log to determine which job is being used by which client user." />
<meta name="description" content="There are several methods that can be used to aid in identifying server jobs. One method is to use the WRKACTJOB command. Another method is to use the WRKUSRJOB command. A third method is to display the history log to determine which job is being used by which client user." />
<meta name="DC.Relation" scheme="URI" content="rbae5idsjobs.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbae5dpcjbss" />
<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>Display server jobs</title>
</head>
<body id="rbae5dpcjbss"><a name="rbae5dpcjbss"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Display server jobs</h1>
<div><p>There are several methods that can be used to aid in identifying
server jobs. One method is to use the <span class="cmdname">WRKACTJOB</span> command.
Another method is to use the <span class="cmdname">WRKUSRJOB</span> command. A third
method is to display the history log to determine which job is being used
by which client user.</p>
<div class="section"><h4 class="sectiontitle">Display active jobs using the <span class="cmdname">WRKACTJOB</span> command</h4><p>The <span class="cmdname">WRKACTJOB</span> command
shows all active jobs. All server jobs are displayed, as well as the listener
job.</p>
<p>The following figures show a sample status using the <span class="cmdname">WRKACTJOB</span> command.
Only jobs related to the server are shown in these figures. You
must press F14 to see the available prestart jobs.</p>
<p>The following types
of jobs are shown in the figures.</p>
<ul><li><span>1</span> - Listener job</li>
<li><span>2</span> - Prestarted server jobs</li>
</ul>
<pre class="screen">
<strong>Work with Active Jobs</strong> AS400597
04/25/97 10:25:40
CPU %: 3.1 Elapsed time: 21:38:40 Active jobs: 77
Type options, press Enter.
2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message
8=Work with spooled files 13=Disconnect ...
Opt Subsystem/Job User Type CPU % Function Status
.
___ QUSRWRK QSYS SBS .0 DEQW
.
___ <span>1</span>
QRWTLSTN QUSER BCH .0 SELW
.
.
___ <span>2</span>
QRWTSRVR QUSER PJ .0 TIMW
___ QRWTSRVR QUSER PJ .0 TIMW
___ QRWTSRVR QUSER PJ .0 TIMW
___ QRWTSRVR QUSER PJ .0 TIMW
___ QRWTSRVR QUSER PJ .0 TIMW
. More...</pre>
</div>
<div class="section"><p>The following types of jobs are shown:</p>
<dl><dt class="dlterm">PJ</dt>
<dd>The prestarted server jobs.</dd>
<dt class="dlterm">SBS</dt>
<dd>The subsystem monitor jobs.</dd>
<dt class="dlterm">BCH</dt>
<dd>The listener job.</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Display active user jobs using the <span class="cmdname">WRKUSRJOB</span> command</h4><p>The
command <span class="cmdname">WRKUSRJOB USER(QUSER) STATUS(*ACTIVE)</span> will display
all active server jobs running under QUSER. This includes the DDM listener
and all DDM server jobs. This command might be preferable, in that it will
list fewer jobs for you to look through to find the DDM-related ones.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5idsjobs.htm" title="If you look at the server jobs started on the system, you might find it difficult to relate a server job to a certain application requester job or to a particular PC client. Being able to identify a particular job is a prerequisite to investigating problems and gathering performance data. iSeries Navigator provides support for these tasks that make the job much easier.">Identify server jobs</a></div>
</div>
</div>
</body>
</html>