IBM Support

How to Use Performance Data Investigator to Look at CPU

How To


Summary

This will guide you how to use Performance Data Investigator (PDI) to look at CPU usage on an IBMi partition

Steps

Performance Data Investigator (PDI) inside of IBM Navigator for i is a tool that can be used to tell you who may have used CPU cycles during a particular timeframe.  However, it cannot tell you WHY they were using CPU.

To explore why the CPU was high and which jobs/tasks used it we first need to open the browser interface.

Substitute your system name or IP address of your partition in the following URL: http://system:2002/Navigator/login, then, log in using your credentials. 

Once logged in, click on the system you want to look at (there can be more than one here) and the Actions icon,

Image showing the Actions Icon

Choose Manage Node.  On the next screen we want to get into the performance data.  Click on the line graph icon then select Investigate Data

Image shows the line graph icon. After clicking on it, choose Investigate Data

This will bring up the Investigate Data screen where you can choose your library and dataset you want to review.

NOTE: In rare instances, you may not see your library in the list. If this happens, try rebuilding the collection table to resolve. You would go back to the line graph and choose Manage Collections then Collection Service collections. Click on Actions then Rebuild Collection Table. 

Image shows how to rebuild the collection table by clicking on the Actions Hamburger Icon

In this instance we are looking at CPU usage, so click the CPU Utilization and Waits Overview

Image shows clicking on the CPU Utilization and Waits Overview hyperlink under the Perspectives Column

You will get a graph showing the full dataset of CPU usage.

Example of what the CPU Utilization and waits overview graph will look like

Using the scroll bars at the bottom, you can focus in on a timeframe section versus the whole graph.

Example of what the graph would look like if you zoom in on a timeframe using the bottom scroll bar

To select intervals you want more information on, click on them to select them. Go to Actions Icon at the top, then CPU Utilization and Waits Overview and then CPU Utilization by Thread or Task

Image shows how to drill down to the thread level from the overview graph

This brings up a graph showing what threads/tasks used CPU during the interval/s selected.

Image shows an example of jobs using the CPU during the selected timeframe

You can shrink this list down by using the scroll bar at the bottom.

Select a job by clicking on it and you can see the utilization during the life of the job by going to the CPU Utilization for Threads or Tasks option

Image shows how to look at the CPU utilization for one job

Image shows the CPU utilization for one job

For further information, on what the job is doing while dispatched to the CPU, collect a job watcher trace while the issue is happening: https://www.ibm.com/support/pages/node/685927

More information on PDI: https://www.ibm.com/support/pages/performance-data-investigator-navigator-i

Document Location

Worldwide


Operating System

IBM i:All operating systems listed


[{"Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SSB2F4","label":"Performance Tools for i"},"ARM Category":[{"code":"a8m3p000000PCOWAA4","label":"Performance-\u003ETools-\u003EPDI"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"}]

Document Information

More support for:
Performance Tools for i

Component:
Performance->Tools->PDI

Software version:
All Versions

Document number:
7171926

Modified date:
01 October 2024

UID

ibm17171926

Manage My Notification Subscriptions