GO MENU --> option: 13.
DLTOBJ OBJ(QGPL/LPAR2RRD) OBJTYPE(*FILE)
DLTLIB LIB(LPAR2RRD)
DLTUSRPRF USRPRF(LPAR2RRD) OWNOBJOPT(*DLT)
Graph name | Metric | Per System | Per Pool | Per ASP | IBM i command | LPAR2RRD |
---|---|---|---|---|---|---|
WRKACTJOB | CPU % | yes | WRKACTJOB |
|||
CPUTOP | CPU core | yes | ||||
IOTOP | IO/sec | yes | WRKACTJOB |
|||
DiskTOP | ||||||
disk busy % | yes | |||||
IO/sec | yes | |||||
JOBS | ||||||
Jobs | yes | WRKSYSSTS |
||||
Active jobs | yes | |||||
Active threads | yes | |||||
ASP free | Free capacity | yes | DSPASPBRM | |||
ASP used | Used capacity | yes | DSPASPBRM | |||
ASP used % | Used capacity % | yes | DSPASPBRM | |||
ASP data | Data throughput | yes | WRKDSKSTS |
|||
ASP IOPS | IO/sec | yes | WRKDSKSTS |
|||
ASP total latency | mili sec | yes | ||||
ASP service time | mili sec | yes | ||||
ASP wait time | mili sec | yes | ||||
POOL | Pool size | yes | WRKSYSSTS |
|||
THREADS | Current threads | yes | ||||
Faults | ||||||
DB faults/sec | yes | WRKSYSSTS |
||||
non DB faults/sec | yes | |||||
Pages | ||||||
DB pages/sec | yes | WRKSYSSTS |
||||
non DB pages/sec | yes | |||||
LAN | ||||||
MB/sec | yes | |||||
Packets/sec | yes | |||||
Discarded/sec | yes |
# su - lpar2rrd $ cd /home/lpar2rrd/lpar2rrd $ vi etc/lpar2rrd.cfg LPAR2RRD_AGENT_DAEMON=1 $ ./load.sh Starting LPAR2RRD daemon on port:8162 ... $ ps -ef|grep lpar2rrd-daemon lpar2rrd 10289314 1 0 19:46:44 pts/0 0:01 /usr/bin/perl -w /home/lpar2rrd/dev/bin/lpar2rrd-daemon.pl $ netstat -an| grep 8162 tcp4 0 0 *.8162 *.* LISTEN
CRTSAVF FILE(QGPL/LPAR2RRD)
GRTOBJAUT OBJ(QSYS/QPMLPFRD) OBJTYPE(*PGM) USER(LPAR2RRD) AUT(*use) GRTOBJAUT OBJ(QSYS/QPMWKCOL) OBJTYPE(*PGM) USER(LPAR2RRD) AUT(*use)
ftp <ph.server.com> Connected to as400. 220-QTCP at 192.168.177.50. 220 Connection will close if idle more than 5 minutes. Name (as400.server.com:lpar2rrd): lpar2rrd 431 Requested security mechanism not available at this time. 331 Enter password. Password: 230 LPAR2RRD logged on. Remote system type is . ftp> bin ftp> cd qgpl ftp> put LPAR2RRD.savf LPAR2RRD local: LPAR2RRD.savf remote: LPAR2RRD 200 PORT subcommand request successful. 150 Sending file to member LPAR2RRD in file LPAR2RRD in library QGPL. 226 File transfer completed successfully. 3590400 bytes sent in 0.41 secs (9007.2 kB/s) ftp> by
DSPSAVF FILE(QGPL/LPAR2RRD) OUTPUT(*) LPAR2RRD *LIB PROD LPAR2RRD 152 YES ACCEPTFREE *PGM CLE LPAR2RRD 176 YES ...
RSTLIB SAVLIB(LPAR2RRD) DEV(*SAVF) SAVF(QGPL/LPAR2RRD) MBROPT(*ALL) ALWOBJDIF(*ALL) 35 object restored from LPAR2RRD to LPAR2RRD.
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) JOBQ(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') USER(LPAR2RRD) RQSDTA(*NONE) INLLIBL(LPAR2RRD QGPL QTEMP)After this command see LPAR2RRD *JOBD object in restored LPAR2RRD library.
CHGUSRPRF USRPRF(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD)
MKDIR DIR('/home/LPAR2RRD')
GRTOBJAUT OBJ(QSYS/QPMLPMGT) OBJTYPE(*SRVPGM) USER(LPAR2RRD) AUT(*use)
PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM') Verifying connection to host system LPAR2RRD-SERVER.SERVER.COM at address 192.168.1.2. Connection verification statistics: 5 of 5 successful (100 %).
TELNET RMTSYS('LPAR2RRD-SERVER.SERVER.COM') PORT(8162) RMTUSER(TESTSTRING) INZWAIT(15) Connecting to remote host 192.168.1.2 using port 8162
CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(LPAR2RRD-SERVER.SERVER.COM)')
CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(''192.168.1.2'')')
CHGUSRPRF USRPRF(LPAR2RRD) PASSWORD(*NONE)
ADDLIBLE LPAR2RRD GO MENU Select: 14 Accept Software Licensing Agreement ➞ page down ➞ F14 Accept OK:CL_ACCEPT Expiration date of this client is 2017-06-25
ER: RTV_SYSSTS: frp.HASH512not not correct. ER: RTV_SYSSTS: Please revalidate i5/OS client from MENU option F14. ER: RTV_SYSSTS: i5/OS client ended.Agent is licensed to free use for 1 year. You will have to re-accept license in the same way next year.
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') RQSDTA(*NONE) RMVAJE SBSD(LPAT2RRD/LPAR2RRD) JOB(LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 1. Set up parameters to start client as RTV_SYSSTS (opt.10) Accept all default parameters for command CHGJOBD and RMVAJE. Option 10. RTV_SYSSTS
CHGJOBD JOBD(LPAR2RRD) TEXT('STRSBS SBSD(LPAR2RRD/LPAR2RRD)') RQSDTA('RTV_SYSSTS') ADDAJE SBSD(LPAR2RRD/LPAR2RRD) JOB(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 2. Set up parameters to start client as STRSBS LPAR2RRD (option 11) Accept all default parameters for command CHGJOBD and ADDAJE. Option 11. STRSBS LPAR2RRD
GO MENU Select: Option 50
IF: C_SNDSTS - connection Established()
ADDLIBLE LPAR2RRD GO MENU Select: 13. END_SYSSTS ➞ Enter ➞ Enter
WRKJOB ➞ option 10 ➞ Display job log, if active, on job queue, or pending F10, F18 ... IN: END_SYSSTS No active jobs in subsystem LPAR2RRD Ending of subsystem LPAR2RRD in progress. IN: END_SYSSTS EndSbs LPAR2RRD *Immed EN: END_SYSSTS - *ALL. GO MENU Select: option 50 ➞ WRKSBSJOB LPAR2RRD
CRTUSRPRF USRPRF(LPAR2RRD) ..... JOBD(LPAR2RRD/LPAR2RRD) ...... CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) .... INLLIBL(LPAR2RRD QTEMP) ....
GRTOBJAUT OBJ(QSYS/QPMLPMGT) OBJTYPE(*SRVPGM) USER(LPAR2RRD) AUT(*USE)Be careful if you upgrade your i5/OS. Service program QPMLPMGT is into QSYS library.
ADDLIBLE LPAR2RRD LPAR2RRD/END_SYSSTS
530 Not able to set ASP group for user LPAR2RRD; logon rejected.
CHGUSRPRF USRPRF(LPAR2RRD) JOBD(QGPL/QDFTJOBD)
Cannot use lib LPAR2RRD in library QSYS
ADDLIBLE LPAR2RRD LPAR2RRD/END_SYSSTS GO MENU --> 50 Subsystem LPAR2RRD is not active
CHGUSRPRF USRPRF(LPAR2RRD) PASSWORD(<password>) CHGUSRPRF USRPRF(LPAR2RRD) JOBD(QGPL/QDFTJOBD)
CHKOBJ OBJ(QGPL/LPAR2RRD) OBJTYPE(*FILE)
CLRSAVF FILE(QGPL/LPAR2RRD) CLRLIB LIB(LPAR2RRD)
CRTSAVF FILE(QGPL/LPAR2RRD) TEXT('LPAR2RRD Client')
GRTOBJAUT OBJ(QSYS/QPMLPFRD) OBJTYPE(*PGM) USER(LPAR2RRD) AUT(*use) GRTOBJAUT OBJ(QSYS/QPMWKCOL) OBJTYPE(*PGM) USER(LPAR2RRD) AUT(*use)
ftp <as400.server.com> Connected to as400. 220-QTCP at 192.168.177.50. 220 Connection will close if idle more than 5 minutes. Name (as400.server.com:lpar2rrd): lpar2rrd 431 Requested security mechanism not available at this time. 331 Enter password. Password: 230 LPAR2RRD logged on. Remote system type is . ftp> bin ftp> cd qgpl ftp> put LPAR2RRD.savf LPAR2RRD local: LPAR2RRD.savf remote: LPAR2RRD 200 PORT subcommand request successful. 150 Sending file to member LPAR2RRD in file LPAR2RRD in library QGPL. 226 File transfer completed successfully. 3590400 bytes sent in 0.41 secs (9007.2 kB/s)
DSPSAVF FILE(QGPL/LPAR2RRD) OUTPUT(*) LPAR2RRD *LIB PROD LPAR2RRD 152 YES ACCEPTFREE *PGM CLE LPAR2RRD 176 YES ...
RSTLIB SAVLIB(LPAR2RRD) DEV(*SAVF) SAVF(QGPL/LPAR2RRD) MBROPT(*ALL) ALWOBJDIF(*ALL) 35 object restored from LPAR2RRD to LPAR2RRD.
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) JOBQ(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') USER(LPAR2RRD) RQSDTA(*NONE) INLLIBL(LPAR2RRD QGPL QTEMP)After this command see LPAR2RRD *JOBD object in restored LPAR2RRD library.
CHGUSRPRF USRPRF(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD)
CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(LPAR2RRD-SERVER.SERVER.COM)')
CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(''192.168.1.2'')')
CHGUSRPRF USRPRF(LPAR2RRD) PASSWORD(*NONE)
ADDLIBLE LPAR2RRD GO MENU Select: 14 Accept Software Licensing Agreement ➞ page down ➞ F14 Accept OK:CL_ACCEPT Expiration date of this client is 2017-06-25
ER: RTV_SYSSTS: frp.HASH512not not correct. ER: RTV_SYSSTS: Please revalidate i5/OS client from MENU option F14. ER: RTV_SYSSTS: i5/OS client ended.Agent is licensed to free use for 1 year. You will have to re-accept license in the same way next year.
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') RQSDTA(*NONE) RMVAJE SBSD(LPAT2RRD/LPAR2RRD) JOB(LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 1. Set up parameters to start client as RTV_SYSSTS (opt.10) Accept all default parameters for command CHGJOBD and RMVAJE. Option 10. RTV_SYSSTS
CHGJOBD JOBD(LPAR2RRD) TEXT('STRSBS SBSD(LPAR2RRD/LPAR2RRD)') RQSDTA('RTV_SYSSTS') ADDAJE SBSD(LPAR2RRD/LPAR2RRD) JOB(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 2. Set up parameters to start client as STRSBS LPAR2RRD (option 11) Accept all default parameters for command CHGJOBD and ADDAJE. Option 11. STRSBS LPAR2RRD
GO MENU Select: Option 50
IF: C_SNDSTS - connection Established()
PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM') Verifying connection to host system LPAR2RRD-SERVER.SERVER.COM at address 192.168.1.2. Connection verification statistics: 5 of 5 successful (100 %).
TELNET RMTSYS('LPAR2RRD-SERVER.SERVER.COM') PORT(8162) RMTUSER(TESTSTRING) INZWAIT(15) Connecting to remote host 192.168.1.2 using port 8162
ADDLIBLE LPAR2RRD GO MENU start: 10. RTV_SYSSTS ➞ Enter ➞ Enter stop: 13. END_SYSSTS ➞ Enter ➞ Enter
ADDLIBLE LPAR2RRD LPAR2RRD/END_SYSSTS GO MENU --> 50 Subsystem LPAR2RRD is not active
CHGUSRPRF USRPRF(LPAR2RRD) PASSWORD(<password>) CHGUSRPRF USRPRF(LPAR2RRD) JOBD(QGPL/QDFTJOBD)
CLRSAVF FILE(QGPL/LPAR2RRD) CLRLIB LIB(LPAR2RRD)
ftp <as400.server.com> Connected to as400. 220-QTCP at 192.168.177.50. 220 Connection will close if idle more than 5 minutes. Name (as400.server.com:lpar2rrd): lpar2rrd 431 Requested security mechanism not available at this time. 331 Enter password. Password: 230 LPAR2RRD logged on. Remote system type is . ftp> bin ftp> cd qgpl ftp> put LPAR2RRD_F.savf LPAR2RRD local: LPAR2RRD_F.savf remote: LPAR2RRD 200 PORT subcommand request successful. 150 Sending file to member LPAR2RRD in file LPAR2RRD in library QGPL. 226 File transfer completed successfully. 3590400 bytes sent in 0.41 secs (9007.2 kB/s)
DSPSAVF FILE(QGPL/LPAR2RRD_F) OUTPUT(*) LPAR2RRD *LIB PROD LPAR2RRD 152 YES ACCEPTFREE *PGM CLE LPAR2RRD 176 YES ...
RSTLIB SAVLIB(LPAR2RRD) DEV(*SAVF) SAVF(QGPL/LPAR2RRD_F) MBROPT(*ALL) ALWOBJDIF(*ALL) 34 object restored from LPAR2RRD to LPAR2RRD.
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) JOBQ(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') USER(LPAR2RRD) RQSDTA(*NONE) INLLIBL(LPAR2RRD QGPL QTEMP)After this command see LPAR2RRD *JOBD object in restored LPAR2RRD library.
CHGUSRPRF USRPRF(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD)
PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM') Verifying connection to host system LPAR2RRD-SERVER.SERVER.COM at address 192.168.1.2. Connection verification statistics: 5 of 5 successful (100 %). CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(LPAR2RRD-SERVER.SERVER.COM)')
CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(''192.168.1.2'')')
CHGUSRPRF USRPRF(LPAR2RRD) PASSWORD(*NONE)
ADDLIBLE LPAR2RRD GO MENU Select: 14 Accept Software Licensing Agreement ➞ page down ➞ F14 Accept OK:CL_ACCEPT Expiration date of this client is 2099-01-01
ER: RTV_SYSSTS: frp.HASH512not not correct. ER: RTV_SYSSTS: Please revalidate i5/OS client from MENU option F14. ER: RTV_SYSSTS: i5/OS client ended.You can see expiration dates of all agents in the LPAR2RRD UI ➞ menu ➞ LPAR2RRD ➞ Data check ➞ IBM i
CHGJOBD JOBD(LPAR2RRD/LPAR2RRD) TEXT('RTV_SYSSTS') RQSDTA(*NONE) RMVAJE SBSD(LPAT2RRD/LPAR2RRD) JOB(LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 1. Set up parameters to start client as RTV_SYSSTS (opt.10) Accept all default parameters for command CHGJOBD and RMVAJE. Option 10. RTV_SYSSTS
CHGJOBD JOBD(LPAR2RRD) TEXT('STRSBS SBSD(LPAR2RRD/LPAR2RRD)') RQSDTA('RTV_SYSSTS') ADDAJE SBSD(LPAR2RRD/LPAR2RRD) JOB(LPAR2RRD) JOBD(LPAR2RRD/LPAR2RRD) ADDLIBLE LPAR2RRD GO MENU Option 2. Set up parameters to start client as STRSBS LPAR2RRD (option 11) Accept all default parameters for command CHGJOBD and ADDAJE. Option 11. STRSBS LPAR2RRD
GO MENU Select: Option 50
IF: C_SNDSTS - connection Established()
ADDLIBLE LPAR2RRD GO MENU start: 10. RTV_SYSSTS ➞ Enter ➞ Enter stop: 13. END_SYSSTS ➞ Enter ➞ Enter
ADDLIBLE LPAR2RRD GO MENU Select: 14 Accept Software Licensing Agreement ➞ scroll down ➞ F14 Accept OK:CL_ACCEPT Expiration date of this client is 2017-06-25