Thursday, 11 December 2008

Autosys Reference

* Listing Job/Box Information
autorep -J [job/box name]     //summary
autorep -J [job/box name] -d  //details
autorep -J [job/box name] -q  //definition (jil)
autorep -r -2 -J [job/box name] -d  //historical run info (-2 means 2 runs before)
use % as wildcard for job/box name listing
ex: autorep -J myjob1
autorep -J myjob%
* Starting/Stopping Jobs
sendevent -E [event] -J [job_name]
Events
- FORCE_STARTJOB
- KILLJOB
- JOB_ON_ICE
- JOB_OFF_ICE
- JOB_ON_HOLD
- JOB_OFF_HOLD
* Change Job Status
sendevent -E CHANGE_STATUS -s SUCCESS -J
Statues
- SU - SUCCESS
- RU - RUNNING
- AC - ACTIVE
- IN - INACTIVE
- FA - FAILED
- TE - TERMINATED
- OI - ON ICE
* Run JIL file
cat [filename].jil | jil
* Check if machine has autosys agent installed
autoping -m <machine-name> -D
* Tracks and reports changes to autosys DB
autotrack -J [job/box name] -v
autotrack -U [username] –v
You can find more info here Official Autosys Cheatsheet

No comments:

Post a Comment