06-21-2011
just execute the below command and give the result
ping anyhostname
is it showing like "hostname is alive" ?
or is it keep on pinging ?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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)
Discussion started by: ollyparkhouse
3 Replies
2. Debian
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)
Discussion started by: Virtuality
12 Replies
3. Solaris
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)
Discussion started by: heru_90
4 Replies
4. UNIX for Dummies Questions & Answers
Hi
How to check connection with another IP/Server not using ping?
Thanks (5 Replies)
Discussion started by: miojamo
5 Replies
5. Shell Programming and Scripting
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)
Discussion started by: franzramadhan
3 Replies
6. Shell Programming and Scripting
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)
Discussion started by: gokcell
1 Replies
7. Linux
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)
Discussion started by: lovesaikrishna
2 Replies
8. Shell Programming and Scripting
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)
Discussion started by: tavanagh
4 Replies
9. Programming
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
macping
MACPING(1) General Commands Manual MACPING(1)
NAME
macping - A tool for pinging other RouterOS or mactelnetd devices
SYNOPSIS
mactelnet [options] <MAC-Address|hostname>
DESCRIPTION
This tool enables you to ping other RouterOS or MAC-Telnetd enabled devices. You can ping either a hostname or a MAC address. If speci-
fied, the hostname (identity) will be looked up via MNDP discovery.
OPTIONS
These programs follow the usual GNU command line syntax. A summary of options is included below.
-f Fast mode, do not wait before sending next ping request. The next ping will be sent immediately when the last ping is received. This
cannot be used with -c 0
-s Specify the amount of bytes to send in each ping packet, up to ~1400 bytes.
-c Number of packets to send before exiting. A value of 0 means unlimited packets and the tool must be exited with Control + C.
-h Show summary of options.
-v Show version of program.
SEE ALSO
mndp(1), mactelnet(1), mactelnetd(1).
AUTHOR
macping was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>.
This manual page was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>, for the Debian project (and may be used by others).
February 27, 2011 MACPING(1)