AutoSys Workload Automation

 View Only
Expand all | Collapse all

Command to check all jobs on an agent currently in state "Resource_Wait" & "Pending Machine"

  • 1.  Command to check all jobs on an agent currently in state "Resource_Wait" & "Pending Machine"

    Posted Apr 27, 2020 11:04 AM
    Hi All,

    Can you please help me with commands to identify the jobs on an agent named <Agent_Server> which are currently on "Resource Wait" and "Pending Machine"

    Your assistance will highly appreciated!!

    Regards,
    Arshad


  • 2.  RE: Command to check all jobs on an agent currently in state "Resource_Wait" & "Pending Machine"
    Best Answer

    Posted May 02, 2020 06:51 AM
    Hi,

    I would do something like

    autorep -J % -q | grep -B 3 Agent_Server | grep insert_job | awk '{print $2}' | xargs -l1 autorep -J | egrep 'RW|PE'

    Best regards.
    JR