iCan Blog Archive

In last week’s blog on the features of the green screen “Work with Active Jobs” interface, there was a comment regarding the nice features of the graphical tools in Navigator for i. I had written a prior blog on some of the “Cool Tips with the Work Management GUI” that covered some additional function within the work management GUI. In that post I wrote briefly about the enhanced integration between the Active Jobs GUI and the Performance GUI. 

I’d like to expand upon that…

Active Jobs (or WRKACTJOB on the green screen) is often the first place you look if you want to have some basic understanding of the system’s performance characteristics and how the work is running. If you discover some job that appears to be using a lot of system resources, whether CPU or I/O, you may want to dig deeper to understand more about what’s going on.  

Starting with the 7.1 release, there’s much greater integration between the Active Jobs tasks and the Performance tasks that allows you to go from working with active jobs directly to analyzing performance data.

In my screen capture below, you’ll notice I’ve customized the columns in my Active Jobs view – I added the metric “Disk I/O Count,” sorted on the CPU % column, and reordered the columns so that “CPU %” and “Disk I/O Count” were easy to see and include in my screen captures. This type of flexibility with the GUI is great to customize what you need to see.

I can see from Active Jobs that the job Qpadev0056 with current user Dawnm (Hey! That’s me!) had been using CPU, but also that it had been doing quite a bit of disk I/O. We can use this job as my example job for showing how you can get from an active job to the performance data for it. By right-clicking on the job name, you bring up a pop-up menu of the options to work with that job; the performance tasks are nested under the performance option, as my screen capture (below) shows.

The performance options to work with Collection Services data are only available when Collection Services is active, which it should be as that’s the default behavior beginning in 6.1. When you select these options to work with performance data from the Active Jobs interface, the most recent Collection Services collection will be used.

If you select the option to Investigate Job Wait Data, you’ll go from the Active Jobs task to a new tab in your Navigator session to display the Collection Services job wait data for the job. You’ll see something similar to the chart below.

The job wait data is displayed for the time period in which the job had been active. My job had only been running for a short time, so I saw 3 intervals of data. I can see that this job had been doing a lot of page faulting and that it had started doing so around 5:00pm.

If the job you had wanted to investigate had been running for most of the day, the graph displayed would show the entire timeframe the job was active and you may want to focus in on data at a specific timeframe.  You can do that by zooming in on the chart to display the data more closely, but the details on using PDI are beyond the scope of this job.

With Collection Services data, you can’t get more detail about why the job was page faulting, but you can see when it started.

However, going back to the Active Jobs interface makes it easy for you to get the detailed data you need to investigate the problem further. 

If you have the IBM Performance Tools licensed program product, option 3 (Job Watcher) installed, you will have the ability to start Job Watcher from the Active Jobs interface, again, under the Performance options for that job.

This will launch the Job Watcher wizard to lead you through starting a Job Watcher collection. Once you have the more detailed performance data you can get with Job Watcher, you can use the performance tasks to further investigate the data. Note, however, that you’ll need to reproduce the performance problem while Job Watcher is active in order to have the desired detailed data for analysis.

The steps I just went through were how you can get to performance data for one job by starting from Active Jobs.

You can also look at system wide performance data by starting with Active Jobs.  To do this, you don’t select any particular job to work with, but rather use the action pull-down to select the option to Investigate Jobs Wait Data (you can also Investigate Jobs Statistics Data as well). See figure below.

Displaying the Jobs Wait Data will display the Collection Services job wait data for all jobs, as the following screen capture shows.

 The Job(s) Wait Data show the details of what the job had been waiting on. Refer back to the blog on “i Can Tell You Why You’re Waiting”for more information on waits.

The option to Investigate Jobs Statistics Data will present Collection Services jobs statistical data in table form, where you can search and sort, customize columns, etc., to work with the performance data in table form. By default, all columns are displayed in the table, and you must scroll right or left to display them. Just like any other table view in Navigator for i, you can customize which columns you want to see, the order in which the columns are displayed, as well as the sort order you want to use. By looking at Jobs Statistics Data, you’ll discover all sorts of job metrics in Collection Services that may be interesting for analysis purposes.

This blog post was edited for currency on February 1, 2020.

This blog post was originally published on IBMSystemsMag.com and is reproduced here by permission of IBM Systems Media.