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?"
iSeries Navigator
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.
- Use the Server Jobs view to see the active server jobs and the current
user. ()
- Right-click the Server Jobs container and select and make
sure that the Current® User,
Total CPU Time, and Total CPU DB Time are in the Columns to be
displayed list.
- 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 .
- You can sort the display order of the active server job list by clicking
on the column headings.
- You can set the display to automatically refresh at regular intervals.
( ) This can help you spot any immediate changes.
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.
- Use Management Central to set up a system monitor that will monitor the
overall CPU Utilization. ()
- 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 Properties to
display the job's properties. (See the online help for more information about
how to use the system monitor.)
- Use Management Central to set up a job monitor to monitor appropriate
server jobs and notify you when those jobs start consuming excessive resources.
()
Character-based interface
Command: Work
with Active Job (WRKACTJOB)
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.