how we can achive this in aix. i need this for a latency check.[...]
You can combine ping with tcpdump which returns fine timestamps. Example:
Use the two timestamps of the packets that share same sequence number to calculate round trip time. A granularity of six digits behind the full second should be good enough (as long as you do not work with HPC stock trading apps )
Hi All
We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Hi!
I'm trying to create a script for seeing if a host is alive, and depending on the ammount of packet loss, send an mail+sms to warn if the host seems to be dead.
The script i'm trying to use is:
pinger ()
{
ping_stat=`ping -c 4 host.name | grep loss | awk '{print $7}'`
echo "Packet... (18 Replies)
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Hello All,
i would like to start ping command and the result should contain also Timestate.
this i'm able to do with following command :
ping HOSTNAME | perl -nle 'print scalar(localtime), " ", $_'
or
ping HOSTNAME | awk '/time\=(+\.{2}) ms /^+ bytes from / { "date" | getline pong;... (1 Reply)
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Hi All,
I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not
PING useipapd01 (172.22.32.87) 56(84) bytes of data.
64... (1 Reply)
Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle!
A RHEL server 6.2. Hosts a statistical application that has some web apps and batch programming... (0 Replies)
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT DEBIAN
ipsec_ikeping
IPSEC_IKEPING(8) [FIXME: manual] IPSEC_IKEPING(8)NAME
ipsec_ikeping - send/receive ISAKMP/IKE echo requests/replies
SYNOPSIS
ipsec ikeping [--listen] [--verbose] [--wait time] [--exchangenum num] [--ikeport localport] [--ikeaddress address] [--inet] [--inet6]
destaddr [/dstport...]
DESCRIPTION
Ikeping sends and receives ISAKMP/IKE echo request and echo reply packets. These packets are intended for diagnostics purposes, in a manner
similar to ping(8) does for ICMP echo request/reply packets.
At the time of this writing, the ISAKMP echo request/reply exchange is still an internet-draft (draft-richardson-ipsec-ikeping-00), and is
therefore completely non-standard. The Openswan IKE daemon pluto does implement this draft, so ikeping can be used to test connectivity to
an openswan ipsec server.
Ikeping will bind to the local address given by --ikeaddress and the port number given by --ikeport defaulting to the wildcard address and
the ISAKMP port 500. An ISAKMP exchange of type 244 (a private use number) is sent to each of the address/ports listed on the command line.
The exchange number may be overridden by the --exchangenum option.
Ikeping then listens for replies, printing them as they are received. Replies are of exchange type 245 or the specified exchange number
plus 1. Ikeping will keep listening until it either receives as many echo responses as it sent, or until the timeout period (5 seconds)
has been reached. Receipt of a packet will reset the timer. The --wait option can be used to specify a different timeout period.
If the --listen option is given, then ikeping will not send any packets. Instead, it will listen for them and reply to each request
received.
If the --natt option is given, then ikeping will set the socket to permit UDP encapsulated ESP packets. This is only useful in listen mode.
FILES
no external files
SEE ALSO ping(8), ipsec_pluto(8)HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org> by Michael Richardson.
[FIXME: source] 10/06/2010 IPSEC_IKEPING(8)