Anda di halaman 1dari 2

AutoSys Basic commands quick reference

Command Alias Description

Event Processor
Mgmt

autosyslog -e Look event log ( Ctrl-C to come out )

chk_auto_up Checks if Autosys is running

autoping –m Checks remote agent is running


<machine>

autoping –m Checks DB connectivity of Agent


<machine> -D

Job Management

autorep –G <Global Gives value of Autosys Global Variable


variable>

autorep –J <job> [- jr Gives a report of Job. X=number of levels to drill down to


l<x>] <job>
[–l<x>]

autorep –J <job> -q jr Gives the job definition


<job>
–q

sendevent –E sj Gracefully starts a job, examines dependancies & status


STARTJOB –J <job>
<jobn>
sendevent –E onhold Puts a job on hold, dependencies enforced.
JOB_ON_HOLD -J <job>
<job>

Sendeve nt –E offhold Self explanatory


JOB_OFF_HOLD -J <job>
<job>

sendevent –E fsj Forces a Job re-start irrespective of dependencies or status


FORCE_STARTJOB <job>
-J <job>

sendevent –E onice Tells Autosys to 1. Not run the job 2. Act as if the job
JOB_ON_ICE -J <job> doesn’t exist.
<job>

sendevent –E office Self explanatory


JOB_OFF_ICE -J <job>
<job>

sendevent –E killjob Terminates a job


KILLJOB -J <job> <job>

sendevent –E success Sets job status to SUCCESS


CHANGE_STATUS – <job> Jobs can have following status:
s SUCCESS –J <job> INACTIVE, ACTIVATED, STARTING,
RUNNING, SUCCESS,
FAILURE, TERMINATED, RESTART, QUE_WAIT,
ON_HOLD, ON _ICE

sendevent –E Assigns value to an AutoSys global variable


SET_GLOBAL –G
<variable=”value”>

sendevent –E Deletes an AutoSys global variable


SET_GLOBAL –G
<variable>=DELETE

job_depends -d -J Displays Job dependencies


<job>

autorep -J <job> -l0 -r Displays job run history, n=run number [0-4]. By default
-n autosys keeps history of 5 runs

Anda mungkin juga menyukai