Sponsored Content
Top Forums Shell Programming and Scripting Script to check OBI 10g & 11g services Post 302672171 by PikK45 on Monday 16th of July 2012 04:32:10 AM
Old 07-16-2012
Question

Quote:
Originally Posted by Digjoy83
Hello Unix experts,

I am very new to shell scripting.However,I have been asigned a task in Unix-that I need to prepare a script which will check if OBI 10g and OBI 11g services are running or not and to send email if the services are down.In addition to it,I also need to check whether Weblogic 11g is running in it as well.We have four production servers in which these services run.How do I capture these services and how do I run the script from all these four boxes?Any help will be appreciated.


Cheers
DG
@DG: From this question, all I could understand is that you want to check the "OBI 10g and OBI 11g" together. Thus I suggested egrep. And now I am going unclear with what your requirements are!

Smilie Smilie
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Looking for administration tool to check if services are running

Hi! We are having problems with our unix servers (SunOS 5.9) that services for some of our applications are continuously going down. (this is more due to the applications installed than the UNIX OS). What I am looking for is some kind of administrative tool where I can set what service to scan... (1 Reply)
Discussion started by: erinor
1 Replies

2. AIX

how to check status of various services and port?

How can i check which service is activated on my AIX Box? how one can check particular port is open or not (like ftp/telnet port)? I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies

3. Shell Programming and Scripting

Script to Check & Edit Content of a file (Addition of comma in each lines of code)

Hi all, I need to write an automated bash shell script which performs such operations: 1. Grep the header of everyline with the initial of "T" in "FILE_A" 2. Perform a for loop, Count the numbers of comma in the line of code, if (no. of comma < 17) ADD the comma until 17; ... (2 Replies)
Discussion started by: big_nutz
2 Replies

4. Solaris

need help in oracle upgrade from 10g to 11g

Hi , situation has come where in i want to upgrade my database from 10g to 11g ,my code heavily depends on Pro*C , i just want to know if i upgrade my DB from 10g to 11g , will there be any changes in my pro*c compiler ..? if so then wat are the prerequisites i need to check ..? thanks ... (2 Replies)
Discussion started by: senkerth
2 Replies

5. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

6. IP Networking

What's the difference between Cisco SFP-10G-SR and XFP-10G-MM-SR ?

We're connecting a ASA 10G port with Cisco SFP-10G-SR transceiver to SCE 10G port with XFP-10G-MM-SR, can they connect each other? We also want to know what's the difference between them? (1 Reply)
Discussion started by: Ayaerlee
1 Replies
serviceconf(8)						      System Manager's Manual						    serviceconf(8)

NAME
redhat-config-services - Service Configuration Utility SYNTAX
redhat-config-services DESCRIPTION
This is a graphical tool for enabling and disabling services (including xinetd services). Functionality to start, stop, and restart ser- vices is also included. OPTIONS
None FILES
/usr/bin/redhat-config-services /usr/share/serviceconf/* EXAMPLES
To run this program simply type: redhat-config-services LIMITATIONS
This utility currently execs chkconfig --add/--del <servicename> when enabling and disabling services. This means that it does not have the same default behaviour as ntsysv. SEE ALSO
chkconfig(8) ntsysv(8) BUGS
- Some services will not start or stop properly if started anywhere but the console (redhat-config-services will appear to hang in these instances). This is not a bug in redhat-config-services, but in the individual services. - Some services are incredibly hard to detect if they are running or not. Starting, stopping and restarting initscripts may give mixed results (ie. may fail if you are stopping a service that's already stopped, etc). This will be fixed; until then it's a bug. AUTHORS
Tim Powers <timp@redhat.com> Bill Nottingham <notting@redhat.com> Dan Walsh <dwalsh@redhat.com> Wed May 16 2001 serviceconf(8)
All times are GMT -4. The time now is 12:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy