Description:
Is there a way to check the status of application server(s) from a command line?
Solution:
The AutoSys command "chk_auto_up" can be used to check the status of both the Event Server(s) and the Application Scheduler(s).
-r value
(Optional) Checks one or more of the Unicenter AutoSys JM components. You can use this option to check the status of the Event Server and/or the Application Server and/or the Scheduler. The value specified for the ?r option determines the component to be checked.
Limits: This value can be one of the following:
001 or 1
Returns the status of the Event Server(s).
010 or 10
Returns the status of the Scheduler(s).
011 or 11
Returns the status of the Event Server(s) and the Scheduler(s).
100
Returns the status of the Application Server.
101
Returns the status of the Application Server and the Event Server(s).
110
Returns the status of the Application Server and the Scheduler(s).
111
Returns the status of the Application Server, Event Server(s), and Scheduler(s).
Note: You must use the ?r option to check the status of the Application Server. If you invoke the chk_auto_up command without any arguments, it just checks the status of the Event Server(s) and Scheduler(s).