Monitor SubSystem

150 pts.
Tags:
AS/400 subsystem
WRKACTJOB
Dear all, Usually, I used command WRKACTJOB to track The jobs, and Press F5=Refresh and F10=Restart statistics to monitor subsystems and check as: CPU %, Status, Current User and fitter/sort follow CPU, Status I wanted to writer Script/Macro Code to monitor subsystem. Please can you let me know the remaining of the Scrip/Macro Code to output to display the screen. Thanks for all very much!
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Rather than write a script, I suggest you use the Performance Monitor tools supplied by IBM with the iSeries.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    If you are using a script, when there are tools already available, post the code you have written so far and we will take a look.
    135,465 pointsBadges:
    report
  • Hvphong0311
    Thanks for your recommended, but i wanted use a script or Macro,
    Please help me
    150 pointsBadges:
    report
  • ToddN2000
    Do you want all the same data in the same format? Why not just write a macro to call the WRKACTJOB command? Is this request because command line access been taken away?
    135,465 pointsBadges:
    report
  • Hvphong0311
    Dear ToddN2000,
    This is my Macro
    "[PCOMM SCRIPT HEADER]
    LANGUAGE=VBSCRIPT
    DESCRIPTION=
    [PCOMM SCRIPT SOURCE]
    OPTION EXPLICIT
    autECLSession.SetConnectionByName(ThisSessionName)
    sub subSub1_()
    REM Wait for 10 seconds = 10000 milliseconds

    Dim i
    i= 1
    Do while i<=1000
    autECLSession.autECLOIA.WaitForInputReady
       autECLSession.autECLPS.SendKeys "[pf5]"
       
       autECLSession.autECLPS.SendKeys "[pf5]"
       autECLSession.autECLPS.Wait 500 
       autECLSession.autECLOIA.WaitForInputReady
       autECLSession.autECLPS.SendKeys "[roll up]"
       autECLSession.autECLOIA.WaitForInputReady
       autECLSession.autECLPS.SendKeys "[pf5]"
    i=i+1
    Loop 
    end sub"
    but this is my code not get track CPU % and Status,
    Please help me
    Thanks ToddN2000 so much
    150 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: