root@ggnems21 # ping -s ggnems23
PING ggnems23: 56 data bytes
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=0. time=17.6 ms
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=1. time=38.3 ms
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=2. time=122. ms
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=3. time=235. ms
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=4. time=24.8 ms
^C
----ggnems23 PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 17.6/87.5/235./92.
when is Ping Broken is valid ? i.e at what packet percentage i should comment it as PING BROKEN?
---------- Post updated at 01:10 AM ---------- Previous update was at 01:07 AM ----------
at what percentage packet loss?
If so then i would require this packet loss percetage to be included within my script
i try some script for your needs
you can use this format "./testping.sh counts(packet try) hostlistfile"
and i defined some values in script like ; pingloss of percent(threshold value)=%50 ; send packet try waits=2..
but you change all settings if you think what about its..
for example
regards
ygemici
Ok i am running Linux, or rather was. I can not longer do anything. This was a dns server amoungst other things.
It will no longer boot.
I have used a startup disk, but how can i recover the OS?
I need help and urgently.
Please someone
thanks (3 Replies)
Hi,
I first wanted to install my NIC drivers but it said:
Makefile:62: *** Linux kernel source not found. Stop.
So I installed the kernel source: linux-source-2.6.18_2.6.18.dfsg.1-13etch5_all.deb
1) cd /usr/src
2) -xjvf linux-source.2.6.18.extension (forget what it was)
3) ln -s... (12 Replies)
Dear all,
I have system that have 2 disk, and 1 off disk is broken, how can I check if the disk is broken or other problem.
I'm using Solaris 10 x86.
Thank you,
Best Regards,
Heru (4 Replies)
I have perl script that I use to check and ping a list of ip,
The problem is, I didnt understand how to ping ipv6 on perl,
Could I use Ping::External??And how could I get the ping result (reply or not)?
This is my code
#!/usr/bin/perl --
use Net::Ping;
use Data::Validate::IP;
use... (3 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,
We have added a windows host and its config files to Nagios master server and wanted to do a ping check alone at the moment however, the nagios master server identifies the host in its GUI and immediately disappears can anyone let me know the right approach to this one, We want to... (2 Replies)
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)
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)