![[Performance]](test4.gif)
PARM FORMAT="gif" TARGETDIR="/APACHE" CONTINUE PURGE R!HPPIN,TEMP > $NULL ECHO FORMAT ASCII > R!HPPIN ECHO HEADINGS OFF >> R!HPPIN ECHO SEPARATOR=" " >> R!HPPIN ECHO DATA TYPE GLOBAL >> R!HPPIN ECHO DATE >> R!HPPIN ECHO TIME >> R!HPPIN ECHO CPU_TOTAL >> R!HPPIN ECHO CPU_SESSION >> R!HPPIN ECHO CPU_JOB >> R!HPPIN ECHO CPU_SYSTEM >> R!HPPIN ECHO CPU_DISPATCH >> R!HPPIN ECHO CPU_ICS >> R!HPPIN ECHO CPU_MEMMGR >> R!HPPIN ECHO CPU_PAUSED >> R!HPPIN SAVE R!HPPIN CONTINUE PURGE I!HPPIN,TEMP > $NULL ECHO LOGFILE LOGGLOB.SCOPE.SYS > I!HPPIN ECHO REPORT R!HPPIN >> I!HPPIN ECHO GLOBAL SUMMARY >> I!HPPIN ECHO EXPORT >> I!HPPIN ECHO EXIT >> I!HPPIN SAVE I!HPPIN SETJCW RXKEY=3 EXTRACT.SCOPE.SYS < I!HPPIN > $NULL PLOTX TEST4,,!FORMAT,!TARGETDIR PURGE I!HPPIN > $NULL PURGE R!HPPIN > $NULL |
#proc getdata
command: cat $HPCWD/XFERGSUM
filter:
##declare SJ
##set SJ = $arith(@@4+@@5)
##declare SJS
##set SJS = $arith(@@4+@@5+@@6)
##declare SJSO
##set SJSO = $arith(@@4+@@5+@@6+@@7+@@8+@@9)
##declare SJSOP
##set SJSOP = $arith(@@4+@@5+@@6+@@7+@@8+@@9+@@10)
@@1.@@2 @@3 @@4 @@SJ @@SJS @@SJSO @@SJSOP
// #proc datesettings
// omitweekends yes
// format mm/dd/yy
#proc areadef
title: CPU Utilization Average per hour
rectangle: 1 1 8 5
yrange: 0 100
// xscaletype: categories
// xcategories: datafield=1
// xaxis.stubvert: yes
xscaletype: datetime mm/dd/yy.hh:mm
xaxis.stubs: inc 1 day
xaxis.stubformat: Www
xaxis.minorticinc: 1 hours
// xrange: 05/01/00.00:00 05/15/00.00:00
xautorange: datafield=1 nearest=hour
xaxis.stubdetails size=6
#proc xaxis
stubs: inc 1 day
stubformat: Mmmdd
stubdetails: adjust=0,-0.14 size=6
#proc xaxis
stubs: inc 4 hour
stubformat: hh
// stubvert: yes
stubdetails: adjust=0,-0.28 size=6
#proc yaxis
label: CPU Utilization in %
stubs: inc 20
minortics: yes
minorticinc: 5
ticincrement: 10
grid: color=green
#proc lineplot
xfield: 1
yfield: 7
linedetails: color=teal width=0.3
fill: teal
numbers: no
legendlabel: Paused
#proc lineplot
xfield: 1
yfield: 6
linedetails: color=magenta width=0.3
fill: magenta
numbers: no
legendlabel: Other
#proc lineplot
xfield: 1
yfield: 5
linedetails: color=brightgreen width=0.3
fill: brightgreen
numbers: no
legendlabel: System
#proc lineplot
xfield: 1
yfield: 4
linedetails: color=brightblue width=0.3
fill: brightblue
numbers: no
legendlabel: Job
#proc lineplot
xfield: 1
yfield: 3
linedetails: color=red width=0.3
fill: red
numbers: no
legendlabel: Session
#proc annotate
location: 2 6.2
box: color=red width=1.0
backcolor: gray(0.8)
text: CPU Utilization
#proc annotate
location: 5 6
box: color=black width=1.0
backcolor: gray(0.8)
textdetails: size=18
fromcommand: uname -n; date '+%Y/%m/%d'
#proc legend
location: max-6.5 max
format: singleline
|
Be careful if you use such files for other
reason!