Displaying CPU usage by jobname
Several servers create new address spaces for each connection, which can result in a large number of jobs with the same job name. Although each job might consume only a small amount of CPU, the total CPU usage for all of the jobs could be significant.
To get a better idea of how much CPU is being consumed, you can use the JOBCPUZ view, which summarizes the CPU activity for the specified interval for all jobs with the same name that are using UNIX System Services.
To display CPU usage by jobname
- From the EZUEASY menu, select the Processes option to access the EZUPRCS menu.
Hyperlink from the CPU Usage by Jobname option, which brings up the JOBCPUZ view (see the following figure).
DDMMMYYYY HH:MM:SS -------- MAINVIEW WINDOW INTERFACE (Vv.r.mm) -------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
W1 =JOBCPUZ===========JOJSJSC==*========DDMMMYYYY==HH:MM:SS====MVUSS====D==117
Jobname Count Total CPU% Intv Intv
-------- ----- CPU Time ----- Usr CPU% Sys CPU%
MV42PMVS 5 00:42:03.89 10.29 7.72 2.57
MV42CAST 1 00:48:02.91 5.25 3.94 1.31
MVQ69 1 00:12:11.62 2.66 1.99 0.66
AAOAOQP 1 00:10:00.15 2.59 1.95 0.65
GCPASC 1 00:00:20.61 2.14 1.60 0.54
BCVCG62C 1 00:00:58.44 2.02 1.52 0.51
MVQ64 1 00:11:41.96 1.87 1.40 0.47
XTSTKPAS 1 00:10:14.78 1.61 1.21 0.40With the JOBCPUZ view, you can easily see the impact of the current applications on the system. It sums up the CPU activity when several ASIDs have the same job name, but it shows only one line when several processes are in the same address space. If a job has executed in multiple address spaces, the Count field is greater than 1; in JOBCPUZ view, the first job listed has a count of 5.
Hyperlink on MV42PMVS in the Jobname column to access the JOBCPU view, which lists all jobs included in the CPU% figure of 10.29 that appeared in JOBCPUZ view.The JOBCPU view is illustrated in the following figure.
DDMMMYYYY HH:MM:SS -------- MAINVIEW WINDOW INTERFACE (Vv.r.mm) -------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
W1 =JOBCPU============JOJSJSC==*========DDMMMYYYY==HH:MM:SS====MVUSS====D==114
Jobname Hex Total CPU% Intv Intv
-------- ASID CPU Time ----- Usr CPU% Sys CPU%
MV42PMVS 45 00:50:24.56 4.62 2.96 1.66
MV42PMVS 42 00:45:00.99 2.76 1.32 1.44
MV42PMVS EC 00:12:22.70 1.60 1.15 0.45
MV42PMVS 5E 00:10:44.26 0.93 0.45 0.48
MV42PMVS 79 00:09:00.32 0.38 0.12 0.26If you hyperlink again on a specific job in the Jobname column, you get to the EZMJOB view, where that particular job is displayed in the Current Job field.
Related topic