Sponsored Content
Full Discussion: AutoSys Tutorials
Top Forums UNIX for Advanced & Expert Users AutoSys Tutorials Post 302198884 by FlyingSquirrel on Saturday 24th of May 2008 11:48:48 PM
Old 05-25-2008
hkumar,

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

Code:
# 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:" | awk -F: '{print $2}'|awk '{print $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:
Code:
   job_depends -t -J ALL -F "mm/dd/yyyy"

Display all jobs scheduled to run between these two dates:
Code:
 job_depends -t -J ALL -F:06/01/2008 -T:06/30/2008

check if the event procesor is up and running
Code:
chk_auto_up

Display list of available timezones:
Code:
autotimezone -l

Get version information:
Code:
autoflags -a

View Remote Agent log:
Code:
autosyslog -J jobname

AutoSys Unix xwindows GUI control panel
Code:
autosc &

Check Database connections:
Code:
autoping -m machinename -D

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Online Tutorials

Does anyone know of any decent online tutorials with regard to Solaris and/or Oracle, currently I'm just hamming my way through but would like to get some more in depth knowledge of the subjects. And as I'm sat at work all day with nothing to do, I thought I'd give the old brain a workout before... (1 Reply)
Discussion started by: kmugglet
1 Replies

2. Shell Programming and Scripting

tutorials

i just got used to some basic unix commands etc i wanted to learn shell programming i bought the book but it looks like full of command reference and doesn't teach how to do shell scripting any good ones in this site or over the web . thank you siva (1 Reply)
Discussion started by: siva_jm
1 Replies

3. Programming

gdb Tutorials

Can anyone give me the link to a website having gdb tutorials (for advanaced debugging & shortcuts) http://www.burneddowndays.com/talk/YaBBImages/rolleyes.gif (1 Reply)
Discussion started by: wojtyla
1 Replies

4. Windows & DOS: Issues & Discussions

Cygwin Tutorials

Hi.. I required Cygwin User Guide and Reference Materials.If anybody knows the related URL Kindly help me. Thanks & Regards :) Sanjay.Karthik (1 Reply)
Discussion started by: sanjay.karthik
1 Replies

5. Programming

Encryption Tutorials

Hi , I would like to know how to write encrytion functions in c++ in linux environment.so would like u get some tutorials on the topic. Can anyone help (1 Reply)
Discussion started by: wojtyla
1 Replies

6. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

My project uses Autosys. I am new to this product and I don't know where to start from. Q1. Please provide me the link where I can get Autosys documentation Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies

7. Linux

RHCE tutorials

Does anyone here who is an RHCE already? Do you have tutorials for this? (0 Replies)
Discussion started by: invinzin21
0 Replies

8. UNIX for Dummies Questions & Answers

Autosys: How to change a machine name in Autosys JIL.

All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1. How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies

9. UNIX for Advanced & Expert Users

.NET Tutorials

Does anyone have any good .NET Tutorials? What are some good websites for .NET Tutorials? (0 Replies)
Discussion started by: cokedude
0 Replies
All times are GMT -4. The time now is 05:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy