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 <machine> Checks remote agent is running
autoping –m <machine> -D Checks DB connectivity of Agent
Job Management
autorepm –G <Global variable> Gives value of Autosys Global Variable
autorep –J <job> [-l<x>] jr <job> Gives a report of Job. X=number of levels to
[–l<x>] drill down to
autorep –J <job> -q jr <job> –q Gives the job definition
sj <job> Gracefully starts a job, examines
+ dependancies & status
\ sendevent. –E STARTJOB –J
<jobn>
sendevent –E JOB_ON_HOLD -J onhold <job> Puts a job on hold, dependencies enforced.
<job>
Sendeve nt –E JOB_OFF_HOLD -J offhold <job> Self explanatory
<job>
sendevent –E FORCE_STARTJOB -J fsj <job> Forces a Job re-start irrespective of
<job> dependencies or status
sendevent –E JOB_ON_ICE -J <job> onice <job> Tells Autosys to 1. Not run the job 2. Act as
if the job doesn’t .
sendevent –E JOB_OFF_ICE -J <job> office <job> Self explanatoexistry
sendevent –E KILLJOB -J <job> killjob <job> Terminates a job
sendevent –E CHANGE_STATUS –s success <job> Sets job status to SUCCESS
SUCCESS –J <job> Jobs can have following status:
INACT , ACTIVATED, STARTING,
RUNNING, SUCCESS, FAILURE,
TERMINATED, RESTART, QUE_WAIT,
ON_HOLD, ON _ICE
sendevent –E SET_GLOBAL –G
<variable=”value”>
sendevent –E SET_GLOBAL –G Deletes an AutoSys global variable
<variable>=DELETE
job_depends -d -J <job> Displays Job dependencies
autorep -J <job> -l0 -r -n Displays job run history, n=run number [0-4].
By default autosys keeps history of 5 runs