I want to test connectivity between different servers with my server using information as IP and port only.
I have Name,IP List and port in one file. Please help how i can test connectivity is successful or not?
File format will be:
Name1,127.0.0.1,80
Name2,127.0.0.2,8080
Output could be
Name1, Successful
Name2, Unsuccessful
I have prepare the code which uses curl and execute complete URL which is as follows:
I'm new to scripting and I need help with a bourn shell script. What i'm trying to do is a test condition where "if the time is within 2 hours, it's true" and so on.
The time is in the following format
DATE=`/bin/date +"%Y%m%d%H%S"`
for example, 20060907152000.
So, what the script first... (9 Replies)
What would be the best way or method to determine or test for the shell interpreter at the beginning of a script in the event one shell is not available?
If I use the following:
#!/bin/bash
and /bin/bash is not available, then use I'd like to use /bin/ksh if it is available.
#!/bin/ksh (8 Replies)
I am new to BASH and writing a small script to identify the SHELL .
#!/bin/bash
BASH='/bin/bash'
KSH='/bin/ksh'
if
then
echo "it's Bash"
else
echo "it's not Bash"
fi
$ bash -x a.sh
+ BASH=/bin/bash
+ KSH=/bin/ksh
+ ''
a.sh: line 4:
where am I missing . PLease advice . (10 Replies)
I need clarification in -a test.
If say, in test -a left expression is not present but the right expression is present, do the shell will consider the left expression true and evaluate the right expression?
For example:
if ]
then
rm -f ${file}
fi
Is this test condition... (7 Replies)
From a Windows command prompt, when I want to test whether an IP and port is open to a connection I can use telnet:
telnet 1.2.3.4 5050
..tests whether I can connect to port 50 on host 1.2.3.4.
What is the correct context to do a similar test from an AIX console?
Thanks! (1 Reply)
Hi,
I need to check the sysbase database connectivity through the Unix Shell Script. Can you help me on the how to write the script to test the sysbase database connection.
Thanks in Advance
Nandha (0 Replies)
Dears ,
kindly I wanna do test for one KSH script to know how is it working , the problem that I'm facing is whenever put "sh -x ./my_script.sh"
the output seems very long & although I tried to to redirect it to files as it shown , but it failed :eek: :-
sh -x ./my_script.sh >... (2 Replies)
I want to test the connectivity to an IP with Port number = xxxx.
I only know telnet can do it. For example, telnet <IP> <port>.
But I don't have telnet installed (no package) on my Red Hat Linux server.
I searched the Internet and realized that I will need either the installation media which... (2 Replies)
Hello,
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine.
please help me where i am... (8 Replies)
Discussion started by: sknovice
8 Replies
LEARN ABOUT DEBIAN
aiccu
AICCU(1)AICCU(1)NAME
AICCU - Automatic IPv6 Connectivity Configuration Utility
SYNOPSIS
aiccu <start|stop|tunnels|test|autotest|license> [ config ]
DESCRIPTION
AICCU makes it very easy for anybody to get IPv6 connectivity everywhere they want. It uses the TIC (Tunnel Information & Control) protocol
to request the information needed to setup a tunnel through which the connectivity is created. AICCU supports the following tunneling pro-
tocols: - 6in4 static (RFC 2893) - 6in4 heartbeat (RFC 2893 + draft-massar-v6ops-heartbeat) - tinc (http://www.tinc-vpn.org) -
AYIYA (draft-massar-v6ops-ayiya) As AYIYA even works from behind NAT's, thus unless there is a very restrictive firewall in place,
anybody should be able to get IPv6 connectivity without problems and everywhere they want.
OPTIONS
start Starts aiccu service.
stop Stops aiccu service.
tunnels
Prints a list of currently available tunnels.
test Builds the connection and runs a simple selftest allowing a user to report this back as it should show most obvious problems.
autotest
Decription here
license
Shows the license aiccu is released under.
config Read the configuration from config file.
SEE ALSO
The AICCU page <URL:http://www.sixxs.net/tools/aiccu/> at sixxs.
AUTHOR
AICCU was written by Jeroen Massar with contributions supplied a number of people as mentioned in the Changelog.
18 April 2005 AICCU(1)