11-24-2017
I have not seen the scenario where all services are not running, manually i have checked from one server as all services are up
Need to check the same from multiple servers so thought of automating it .
right now i am checking the below sample urls from the server
urls not able to post as it;s giving error i have only 2 posts not able to put links in this reply
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am new to this forum.I need a help in the following:
We receve pipe delimited file with
transaction ID,tran_date,Quest_cd,Ans_cd,ans_value.
Same transaction ID can be repeated with different quest_cd and ans_cd.
Basically I need to check if a perticular pair of quest_cd and ans_cd... (1 Reply)
Discussion started by: srichakra
1 Replies
2. Shell Programming and Scripting
Please help develop script for below requirement
-------Sample file-------------------------------
HSVSHOSTRECON 20090115011817BP
DARMAR60064966247003504720000000000000000000066626000000000000133000003D003463001332 ... (14 Replies)
Discussion started by: niraj_bhatt
14 Replies
3. Shell Programming and Scripting
Hi all, how could i do ?
I have a Rss file, i want to extract only the Urls (many) matching http://www.xxx.com/trailers/ from that file and copy into another file.
like
"
<pubDate>Wed, 29 Apr 2009 00:00:00 PST</pubDate>
<content:encoded><!Apple - Movie Trailers - The Hangover"><img... (3 Replies)
Discussion started by: BremboloIV
3 Replies
4. Shell Programming and Scripting
How to validate a date and optionly a time in shell scripting when i get the date and time as pararmeters that sent out with the call of the file? (in my case sh union.sh `first parameter ,second parameter...` (4 Replies)
Discussion started by: tal
4 Replies
5. Shell Programming and Scripting
Hi,
Can anyone provide me the code snippet for EMail Address Validation.
User is going to enter the email address in form window. I need to validate the format is correct.
Thanks in Advance
BS (3 Replies)
Discussion started by: balajiora
3 Replies
6. Shell Programming and Scripting
PICKUPDIR=/home/ready/
DROPDIR=/home/downloaded/
TODAY=$(date '+%d%m%y')
LOGFILE=xyz-$TODAY.log
###########
#FUNCTIONS#
###########
#function to perform file transfer to servercopy folder
opalO ()
{
cd $PICKUPDIR
for fileName in `ls -1 TES_ONE*`
do
cp $fileName $DROPDIR
done
} >>... (4 Replies)
Discussion started by: ravigupta2u
4 Replies
7. Shell Programming and Scripting
Hi All,
I have a shell script in Linux and it will be invoked by 2 methods,
1) An automated background process .
2) Logining into the box and directly executing the script.
I need to put a validation in my shell script such that it will be executed successfully on when an... (11 Replies)
Discussion started by: vininx
11 Replies
8. Shell Programming and Scripting
I am trying to capture screenshots from a huge list of URLs. I am able to manually capture images of individual pages; that is, I simply run the following command to get a screenshot of Foo.com
$ python /path/to/screencapture.sh http://www.foo.com
I want to modify the script so that instead of... (2 Replies)
Discussion started by: chipperuga
2 Replies
9. Shell Programming and Scripting
Hi All,
I am a newbie...I would like to have a function which ll check if a file contains valid strings before "=" operator. Just to give you my requirement:
assume my file has content:
hello= gsdgsd sfdsg sgdsg sgdgdg
world= gggg hhhh iiiii
xxxx= pppp ppppp pppp
my... (1 Reply)
Discussion started by: rtagarra
1 Replies
10. UNIX for Dummies Questions & Answers
I need help with one of my shell script. The script is working fine but i need to add two condition -
i need to get rid of all the below ftp messages and need to have only ftp completed or failed message.
example when i run the script i get below lines -
Connected to xxxx
220 (vsFTPd... (1 Reply)
Discussion started by: chandraprakash
1 Replies
LEARN ABOUT ULTRIX
ypwhich
ypwhich(1yp) ypwhich(1yp)
Name
ypwhich - determine which host is the current YP server or map master.
Syntax
ypwhich [-d domain] [-V1] [-V2] [hostname]
ypwhich [-d domain] [-m mname][-t]]
ypwhich -x
Description
The command identifies the YP server that currently supplies yellow pages services to a YP client. It also identifies which YP server is
the master for a map. If invoked without arguments, returns the host name of the YP server for the local machine. If hostname is speci-
fied, checks that machine to find out which YP master it is using.
Refer to and for an overview of the yellow pages.
Options
-V1
Identifies which server is serving v.1 YP protocol-speaking client processes.
-V2
Identifies which server is serving v.2 YP protocol-speaking client processes.
If neither version is specified, attempts to locate the server that supplies the current v.2 services. If there is no v.2 server cur-
rently bound, attempts to locate the server supplying the v.1 services. Since YP servers and YP clients are both backward compatible,
the user need seldom be concerned about which version is currently in use.
-d Uses domain instead of the current domain.
-m mname
Finds the master YP server for a map. No hostname can be specified with -m. The mname argument can be a mapname, or a nickname for a
map.
-t Inhibits nickname translation and is useful if there is a mapname identical to a nickname.
-x Displays the map nickname table. This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associ-
ated with each nickname.
See Also
ypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)
ypwhich(1yp)