0% found this document useful (0 votes)
608 views

Autosys Commands

The document provides aliases and commands for interacting with and managing jobs on an Autosys system. It lists aliases for starting, stopping, and checking the status of jobs. It also describes commands for viewing job schedules, dependencies, logs, and checking the health of the Autosys installation.

Uploaded by

ammar12345
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
608 views

Autosys Commands

The document provides aliases and commands for interacting with and managing jobs on an Autosys system. It lists aliases for starting, stopping, and checking the status of jobs. It also describes commands for viewing job schedules, dependencies, logs, and checking the health of the Autosys installation.

Uploaded by

ammar12345
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Here are some handy aliases to use with autosys...

# Send Event alias -x se='sendevent -E' # Start Job alias -x fsj='sendevent -E FORCE_STARTJOB -J' alias -x sj='sendevent -E STARTJOB -J' # Job Report ar='autorep -w -J ' fsj='sendevent -E FORCE_STARTJOB -J' hold='sendevent -E JOB_ON_HOLD -J ' ice='sendevent -E JOB_ON_ICE -J ' jd='job_depends -c -w -J ' killjob='sendevent -E KILLJOB -J ' offhold='sendevent -E JOB_OFF_HOLD -J ' office='sendevent -E JOB_OFF_ICE -J ' se='sendevent -E' sj='sendevent -E STARTJOB -J' success='sendevent -E CHANGE_STATUS -s SUCCESS -J ' terminate='sendevent -E CHANGE_STATUS -s TERMINATED -J ' Display JIL (Job Instruction Language): autorep -w -J <jobname> -q Load JIL: jil < JIL_source Find unique commands currently being used: autorep -J PARTIALJOBNAME% -q grep "command:" nt $1}' sort -u > /tmp/cmds.txt Meaning of AutoSys status: STATUS AUTOSTATUS Meaning RU RUNNING Running ST STARTING Starting SU SUCCESS Success FA FAILURE Failure TE TERMINATED Terminated OI ON_ICE On Ice IN INACTIVE Inactive AC ACTIVATED Activated RE RESTART Restart OH ON_HOLD On Hold QW QUE_WAIT Queue Wait RD Refresh Dependencies RF Refresh Filewatcher Forecast report from date to infinity: job_depends -t -J ALL -F "mm/dd/yyyy" Display all jobs scheduled to run between these two dates: job_depends -t -J ALL -F:06/01/2008 -T:06/30/2008 check if the event procesor is up and running chk_auto_up awk -F: '{print $2}' awk '{pri

Display list of available timezones: autotimezone -l Get version information: autoflags -a View Remote Agent log: autosyslog -J jobname AutoSys Unix xwindows GUI control panel autosc & Check Database connections: autoping -m machinename -D

You might also like