AS/400 HELP    

                                         "CPUHOG" 

                           

 

CPUHOG shows all  jobs matching or using more than the entered cpu percentage.  CPUHOG refreshes itself every 30 seconds. This refresh rate can be changed by recompiling CPUHOGFM with a different  ‘Max record wait time’      Needless to say you can also use WRKACTJOB to see the same thing but, what the hell, have fun with QUSLJOB and QUSRJOBI .  The source code is included to modify it as you like.

CPUHOG was developed at V5.1    

 

 

DOWNLOAD cpuhog.savf

 

PC INSTRUCTIONS:

Download "CPUHOG” to your PC.

Go to a DOS session and enter the following;

FTP SYSTEM                                        (system = your AS/400’s name or IP address)

Enter a valid user id and password

CD QGPL

LCD C:\DIRECTORY (directory= the directory on your pc where you downloaded “ CPUHOG.savf”

QUOTE    SITE     NAMEFMT   1

BIN

PUT       CPUHOG.SAVF

QUOTE   RCMD   RSTLIB   SAVLIB(CPUHOG)   DEV(*SAVF)   SAVF(QGPL/CPUHOG)

 Note:  If there is a security problem restoring all objects with the command above,  sign on to your as/400 as Qsecofr and run RSTLIB  from the command line.

                                      

 

 

AS/400 INSTRUCTIONS:

 

ADDLIBLE CPUHOG     

CPUHOG   NN   where NN = 01 to 99