Sponsored Content
Full Discussion: pls guide this..
Top Forums UNIX for Dummies Questions & Answers pls guide this.. Post 302101714 by ss4u on Thursday 4th of January 2007 02:53:05 AM
Old 01-04-2007
pls guide this..

in what real time scenerios we write shell scripts in oracle
 

8 More Discussions You Might Find Interesting

1. SCO

New to SCO -Guide me

Hello can any1 tell me the latest version of SCO. ALso can u give me some of the basic differences between Mandrake Linux and SCO Unix. (1 Reply)
Discussion started by: rahulrathod
1 Replies

2. Solaris

Guide to Samba

Anyone have guide to install samba on solaris 9 I tried couple of times. --How do I go about uninstalling it? bash-2.05# testparm -s > output.file Load smb config files from /usr/local/samba/lib/smb.conf Processing section "" Processing section "" Loaded services file OK. bash-2.05#... (2 Replies)
Discussion started by: brabored
2 Replies

3. UNIX for Dummies Questions & Answers

Pls guide me in learning in Perl Module and packages

Hi, It is very urgent. Pls guide me in learning Perl Module and the Packages. Eventhough i tried in the google, I didnt get upto my expectations. Pls guide me how to create , build Module and the package. Many Thanks. (3 Replies)
Discussion started by: Yamini Thoppen
3 Replies

4. UNIX for Advanced & Expert Users

installion guide

Hi everyone. I need to install HP-UX 11i and I want user installation guide which shows me how to install HP-UX 11i step by step.:) (1 Reply)
Discussion started by: ahmedbashir
1 Replies

5. UNIX and Linux Applications

GD installation guide asking....

Hi, Does anybody success install GD and apply it in linux? I got trying to install it recently. Unfortunately, it seems like got a lot of error message shown :( Thus anybody got success install and use the GD in linux? Can share it with me? I'm using ia64 linux system. Thanks a lot for all... (6 Replies)
Discussion started by: patrick87
6 Replies

6. Solaris

Best guide for Jumpstart

Hi Gurus, Can you please suggest me any good guides for a Beginner to learn Solaris Jumpstart. Thank You, Rama Krishna. (2 Replies)
Discussion started by: rama krishna
2 Replies

7. UNIX for Dummies Questions & Answers

Guide me please

Hi All, I am kinda struck at one point :wall: need ur help to move further. Query: My inputs files are Expected output: I am sure there should be similar tread relating my query ..but as i couldnt find the details i am posting again. Please direct me to the tread or reply... (1 Reply)
Discussion started by: unibeginner
1 Replies

8. Shell Programming and Scripting

if else statement... need guide

read readTerminal terminal_c=$readTerminal if ; then { #Execute the first SQL query } else echo next script fi anything wrong here? (2 Replies)
Discussion started by: ment0smintz
2 Replies
BBHOSTGREP(1)						      General Commands Manual						     BBHOSTGREP(1)

NAME
bbhostgrep - pick out lines in bb-hosts SYNOPSIS
bbhostgrep --help bbhostgrep --version bbhostgrep [--noextras] [--test-untagged] [--bbdisp] [--bbnet] TAG [TAG...] DESCRIPTION
bbhostgrep(1) is for use by extension scripts that need to pick out the entries in a bb-hosts file that are relevant to the script. The utility accepts test names as parameters, and will then parse the bb-hosts file and print out the host entries that have at least one of the wanted tests specified. Tags may be given with a trailing asterisk '*', e.g. "bbhostgrep http*" is needed to find all http and https tags. The bbhostgrep utility supports the use of "include" directives inside the bb-hosts file, and will find matching tags in all included files. If the DOWNTIME or SLA tags are used in the bb-hosts(5) file, these are interpreted relative to the current time. bbhostgrep then outputs a "INSIDESLA" or "OUTSIDESLA" tag for easier use by scripts that want to check if the current time is inside or outside the expected uptime window. OPTIONS
--noextras Remove the "testip", "dialup", "INSIDESLA" and "OUTSIDESLA" tags from the output. --test-untagged When using the BBLOCATION environment variable to test only hosts on a particular network segment, bbtest-net will ignore hosts that do not have any "NET:x" tag. So only hosts that have a NET:$BBLOCATION tag will be tested. With this option, hosts with no NET: tag are included in the test, so that all hosts that either have a matching NET: tag, or no NET: tag at all are tested. --no-down[=TESTNAME] bbhostgrep will query the Xymon server for the current status of the "conn" test, and if TESTNAME is specified also for the current state of the specified test. If the status of the "conn" test for a host is non-green, or the status of the TESTNAME test is dis- abled, then this host is ignored and will not be included in the output. This can be used to ignore hosts that are down, or hosts where the custom test is disabled. --bbdisp Search the bb-hosts file following include statements as a BBDISPLAY server would. --bbnet Search the bb-hosts file following include statements as a BBNET server would. EXAMPLE
If your bb-hosts file looks like this 192.168.1.1 www.test.com # ftp telnet !oracle 192.168.1.2 db1.test.com # oracle 192.168.1.3 mail.test.com # smtp and you have a custom Xymon extension script that performs the "oracle" test, then running "bbhostgrep oracle" would yield 192.168.1.1 www.test.com # !oracle 192.168.1.2 db1.test.com # oracle so the script can quickly find the hosts that are of interest. Note that the reverse-test modifier - "!oracle" - is included in the output; this also applies to the other test modifiers defined by Xymon (the dialup and always-true modifiers). If your extension scripts use more than one tag, just list all of the interesting tags on the command line. bbhostgrep also supports the "NET:location" tag used by bbtest-net, so if your script performs network checks then it will see only the hosts that are relevant for the test location that the script currently executes on. USE IN EXTENSION SCRIPTS
To integrate bbhostgrep into an existing script, look for the line in the script that grep's in the $BBHOSTS file. Typically it will look somewhat like this: $GREP -i "^[0-9].*#.*TESTNAME" $BBHOSTS | ... code to handle test Instead of the grep, we will use bbhostgrep. It then becomes $BBHOME/bin/bbhostgrep TESTNAME | ... code to handle test which is simpler, less error-prone and more efficient. ENVIRONMENT VARIABLES
BBLOCATION If set, bbhostgrep outputs only lines from bb-hosts that have a matching NET:$BBLOCATION setting. BBHOSTS Filename for the Xymon bb-hosts(5) file. FILES
$BBHOSTS The Xymon bb-hosts file SEE ALSO
bb-hosts(5), hobbitserver.cfg(5) Xymon Version 4.2.3: 4 Feb 2009 BBHOSTGREP(1)
All times are GMT -4. The time now is 10:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy