8 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. Ubuntu
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies
5. UNIX for Advanced & Expert Users
Morning,
I have to set up some monotoring between 2 servers, basically we need to proove to the LAN team that we a loosing packets.
Is there any way with ping -s that you can specify how many packets you send? I thought there was but maybe not, we want to set up a while loop that echos the... (3 Replies)
Discussion started by: wittosi
3 Replies
6. AIX
Hi All,
I have a situation here that's very fun...
I have a system with AIX and iPlanet (sunOne) installed, when occurs an unknown event on the network the WebServer shows a thousand of CLOSE_WAIT connections and this number grows and grows until the webserver crashs.
I read some documents... (2 Replies)
Discussion started by: nascimento.rp
2 Replies
7. UNIX for Dummies Questions & Answers
I am just beginning to learn unix and I was wondering if there was a list of all the options somewhere on the net or hidden in the man pages?
Also do options always have - and then a letter, or can it be - and a number as well? Thanks! (1 Reply)
Discussion started by: terms5
1 Replies
8. UNIX for Dummies Questions & Answers
Hello again,
Is there an option for the cp command to overwrite existing files in the destination directory?
Cheers
Rob (3 Replies)
Discussion started by: milage
3 Replies