Prestart job investigation

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?"

IBM Navigator for i

You can use IBM® Navigator for i work management views and monitors for a real time analysis of what is happening on your system.

  1. Use the Server Jobs view to see the active server jobs and the current user. (Work Management > Server Jobs)
    • Open the Server Jobs list and select Actions > Columns 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. Click Actions > Include .
    • You can sort the display order of the active server job list by clicking on the column headings.

    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.

  2. Set up a system monitor that monitors the overall CPU Utilization. (Expand Monitors, right-click System, and select New Monitor.)
    • 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.)

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.