10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I need a simple shell script that returns a value if the system is internet connected and a different value if the system is not connected.
Can anyone please help?
Thanks
Daniele (3 Replies)
Discussion started by: dcaccount
3 Replies
2. Shell Programming and Scripting
Hi,
I need a script which check the FTP connections, if its working fine then no issue. Incase not working fine then Trigger the mail.
Please help on this.
Thanks (4 Replies)
Discussion started by: Keshav Kalra
4 Replies
3. Shell Programming and Scripting
Hi,
I am completely new to shell scripting. Basically I am wanting to create a simple while loop script to check if a network connection is available from 'netstat -a' and if its present then output a character to the serial port. I think i am nearly there.. but need some assistance.. this is... (9 Replies)
Discussion started by: zippyzip
9 Replies
4. Shell Programming and Scripting
Hi All,
in our system , the sftp server is continuously up. but suddenly it is brought down. how can i find out the reason behind of these , is their any log files or how can i check the connectvity with sftp.
please help me to solve this issue (1 Reply)
Discussion started by: aish11
1 Replies
5. Programming
Hi.
I am writing client - server application using TCP sockets.
I need some very basic functionality, namely: how to check if another "participant" of the connection is still present?
I want to handle situations, when client is gone, or server breaks down, etc. (25 Replies)
Discussion started by: Shang
25 Replies
6. UNIX for Dummies Questions & Answers
Hi,
My network dep. telles me that they have opened the FW but my application still can not get through to other server. If it was TCP I could simply test it myself with "telnet", but how can I check it when the connection is UDP?
Tnx (1 Reply)
Discussion started by: mehrdad68
1 Replies
7. UNIX for Dummies Questions & Answers
I am using SUSE OS and want to check internet connection...
I have tried:
ping -c3 google.com
The output i have got is:
Unknown host google.com
does it means that i do not have Internet connection??
Or please help me with any Command to find Internet connection?
Thanks for any help. (1 Reply)
Discussion started by: salil2012
1 Replies
8. Solaris
I've script where i check connection to many hosts ... it take input from HOSTLIST.txt
Ex. cat HOSTLIST.txt
host1
host2
while read HOSTNAME
do
echo $HOSTNAME
ssh -o "BatchMode=yes" ${HOSTNAME} "echo 2>&1" $$ echo flag=0 || flag=1;
if ; then
echo "No SSH... (3 Replies)
Discussion started by: prash184u
3 Replies
9. Shell Programming and Scripting
In the following script I need to find whether DB is established successfully or not. I need to find and display it.
If <DB is connected successfully> then
echo "DB connection success"
else
echo "DB connection failure"
fi
In the same way I need to do it for DB terminate.
I don't... (1 Reply)
Discussion started by: kmanivan82
1 Replies
10. UNIX for Dummies Questions & Answers
Hi Guys,
I wanted to check the sql connection through scripting if it is avilable then proceed else stop the process
I was trying
sqlplus -L username/passwd@sid
if this is not sucess it gives non-zero.
but if it is success it is going into the sqlplus prompt.
So how could i get out... (2 Replies)
Discussion started by: Swapna173
2 Replies