How to check if Autosys is installed?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to check if Autosys is installed?
# 1  
Old 11-02-2016
Tools How to check if Autosys is installed?

How can I check if "Autosys" is installed on my Linux and Solaris servers ?

I prefer Autosys instead of Crontab.
# 2  
Old 11-02-2016
check autosys agent is running in your server

Code:
ps -ef | grep cybAgent.bin

# 3  
Old 11-03-2016
ps -ef prints the arguments, so grep *can* report its own process (race condition).
Further I guess the dot should be real (not any character).
Either use the [ ] trick
Code:
ps -ef | grep "cybAgent[.]bin"

or avoid the ps arguments
Code:
ps -eo pid,comm | fgrep cybAgent.bin

or use pgrep
Code:
pgrep "cybAgent[.]bin"

The exit status of all these grep commands can be tested. For example in an if clause
Code:
if pgrep "cybAgent[.]bin" >/dev/null
then
...

# 4  
Old 11-03-2016
Tools

In the OP i asked if Autosys is installed or not.

I guess the ps recommendations on this thread is for Autosys Running or Not which is not what i need.

I just need to check if it is installed on the server.
# 5  
Old 11-03-2016
That depends on what you define as "installed". (Available? Accessable? Configured? Software-Package? ...)
Do you have an "installation instruction"? Then you get the hint from there.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris installed Physical Processor ..how to check?

I would like to know how to identify the installed "Physical Processor" .here is the output #psrinfo -pv of from 2 systems : - System 1 The physical processor has 8 virtual processors (0-7) SPARC-T4 (chipid 0, clock 2848 MHz) -System 2 The physical processor has 8 virtual... (3 Replies)
Discussion started by: ahmedamer12
3 Replies

2. Solaris

Check that supersede of package version is installed

I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement. So - I need analog of Linux "rpmvercm" utility for Solaris (10/11) Let us say - I know that minimal version... (10 Replies)
Discussion started by: zuismanm
10 Replies

3. Fedora

how to check if autosys or control-M is running?

Hi, On a unix/linux server, how do I check if Autosys or Control-M (scheduler) is running? are there unique processes for these applications that I could do ps -ef | grep ??? thanks, Jason (11 Replies)
Discussion started by: seafan
11 Replies

4. UNIX for Advanced & Expert Users

check user installed programs

How do check the programs that the actual user of the computer installed. I do not care at all about the default programs that came with your distro of Linux, I only want the user installed programs. (1 Reply)
Discussion started by: cokedude
1 Replies

5. UNIX for Dummies Questions & Answers

HowTo check in inet.d or xinet.d is installed?

Hi how can I check to see that init.d or xinit.d is installed on a system? *edit* Also is there a way to have it be platform independant? rpm -qa works on some, but not all Any help is appreciated (0 Replies)
Discussion started by: mcdef
0 Replies

6. UNIX for Advanced & Expert Users

Autosys: Check the jil load time

Hi All, I wanted to know what time the box jobs were loaded into a particular Autosys Instance. Is there a autosys command to find out the above? (The timestamp at which a box was loaded) I had loaded my JIL script without outputting it to the log file. (4 Replies)
Discussion started by: grep_me
4 Replies

7. AIX

How to check if a package is already installed?

Hi All, I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help. Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies

8. Shell Programming and Scripting

Check if rpm is installed

Hi all im hoping someone can help, i want to check if a rpm package is installed, if it is then display one text if not then another text, below is what i have got so far, im am very much a noob at this, as you can probably can see so if possible make it simple, and a big thankyou if you can help... (3 Replies)
Discussion started by: dave123
3 Replies

9. Solaris

How to check for installed Perl modules on solaris?

Is there a quick way to check for installed perl modules on a solaris server? I found using perl -e "use Crypt::DES" will work for checking one package at a time. I was wondering if there was anything else out there? (4 Replies)
Discussion started by: jsandova
4 Replies

10. Shell Programming and Scripting

How to check if perl is installed?

Hi, i'm designing a unix script and i want to know if there is a shell command or a way to see if perl is installed in the system. thanks in advance! (5 Replies)
Discussion started by: kfad
5 Replies
Login or Register to Ask a Question