Question

  Asked: Apr 2 2008   2:57 PM GMT
  Asked by: Ashnirody


Collecting System Performance Values.


System performance, Job performance, CLP, Apigent Technologies

I need to get some values like total CPU usage, Number of active jobs by catagory, excessive CPU usage by a job (which may be looping), Jobs with messages waiting to be answered and similar information. I have to write these values to a file every five minutes. These values will be graphically displayed on a giant TV screen for everyone to find out if something is out of the ordinary. Are there API's to get this info?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



There are several options to do this but one that you should have on your system is
STRPFRT command on any command line to show the IBM Performance Tools menu.
or
You can use PRTPEXRPT on Program and procedure statistics on calls, CPU usage and I/O Sampling of CPU usage of program and procedure instructions Detailed record of performance related events as they occurred.

I hope this helps.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on DataCenter and AS/400.

Looking for relevant DataCenter Whitepapers? Visit the SearchDataCenter.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Tpinky  |   May 22 2008  10:05PM GMT

I run these jobs…
PRTSYSRPT MBR(@@STATM) JOBD(*NONE)

PRTSYSRPT MBR(@@STATM) PERIOD((’09:00′) (’15:00′)) JOBD(*NONE)

ANZPFRDTA MBR(@@STATM) OUTPUT(*PRINT) PERIOD((’07:00′) (’17:00′))

DSPPFRGPH GRAPH(QIBMPKG) MBR(@@STATM) TITLE(system name) OUTPUT(*PRINT) PRTDEV(*NONGRAPHIC) OUTQ(QUSRSYS/library) PAGELEN(51) TYPE(*GPHPKG) JOBD(*NONE)

PRTCPTRPT MBR(@@STATM) JOBD(*NONE)

ANZPFRDTA MBR(@@STATM) OUTPUT(*PRINT) PERIOD((’00:00′) (’09:00′))

ANZPFRDTA MBR(@@STATM) OUTPUT(*PRINT) PERIOD((’15:00′) (’24:00′))

And get these reports…

Percentage of Disk Occupied vs. Time
System Report Workload
Performance Advisor Report
Asynchronous Disk I/O per Second vs. Time
Communications IOP Utilization vs. Time
Communications Line Utilization vs. Time
CPU Utilization vs. Time (Priority)
CPU Utilization vs. Time (Job Type)
Disk Arm Utilization vs. Time
Disk IOP Utilization vs. Time
Percentage of Disk Occupied vs. Time
Local Workstation IOP Utilization vs. Time
Multifunction IOP (Comm) Util vs. Time
Multifunction IOP (Disk) Util vs. Time
Interactive Response Time vs. Time
Synchronous Disk I/O per Second vs. Time
Transactions per Hour vs. Time
Total Disk I/O per Second vs. Time
Component Report Component Interval Activity

 

Gilly400  |   Jun 9 2008  11:13AM GMT

Hi,

You can also use iSeries navigator to setup your performance collections.

Regards,

Martin Gilbert.