1838087 Members
4006 Online
110124 Solutions
New Discussion

Re: Autosys

 
Venkat_33
Frequent Advisor

Autosys

How to check autosys runing or not and als how to check schedule the scripts or not
3 REPLIES 3
Dave Hutton
Honored Contributor

Re: Autosys

Easiest from command line:
$AUTOSYS/bin/chk_auto_up

ServerA:root /opt/ca/AUTOTREE_4.0/autosys/bin # ./chk_auto_up
______________________________________________________________________________

[1] Attempting (1) to Connect with Database: AUTDB

[1] *** Have Connected successfully with Database: AUTDB. ***
______________________________________________________________________________

Connected with Event Server: AUTDB

______________________________________________________________________________

______________________________________________________________________________


Checking Machine: ServerA
Primary Event Processor is RUNNING on machine: ServerA
______________________________________________________________________________
Dave Hutton
Honored Contributor

Re: Autosys

Sorry wish I could edit my message. But to check within a script you can use the chk_auto_up -Q flag.

According to the man page:
-Q Indicates that the command should not output a message, which
makes the command useful for inclusion in shell scripts. In this
case, the return code is sufficient to indicate the status.

Theres more details within the man page.

Florian Heigl (new acc)
Honored Contributor

Re: Autosys

That's right in the manual :)
The DB check is really important, it will also catch license problems, You can also run a job every hour to cross-check.

Florian
yesterday I stood at the edge. Today I'm one step ahead.