10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I did the following script to ping multiple servers, but I keep on receiveing duplicate emails for one server that is down:
cat /var/tmp/servers.list | while read output
ping -c 1 "$output" > /dev/null
if ; then
echo "node $output is up"
... (10 Replies)
Discussion started by: fretagi
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
for myhost in "$@"
ping -c "$COUNT" "$myhost" &&return 1
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
3. Shell Programming and Scripting
I have a question is there any posibility for writing a script that you can see if a pc in your network is up of down , when you run this script for ex. ./test.sh 63 45 54 , which are the ip adresses of the computers , when you give the last digit of the ip adres as argument
63 , 45 and 54 are... (5 Replies)
Discussion started by: Roggy
4. Shell Programming and Scripting
I have experience in redhat/ Ubuntu OS, but I am very new to solaries os.
my servers OS is Oracle Solaris 10 8/11 s10x_u10wos_17b X86.
I have a file contains 200 servers IPs one by one.
now I want a script to chaeck which IPs are pinging, not pingning.
I... (8 Replies)
Discussion started by: kumar85shiv
5. Shell Programming and Scripting
Hey, It's me again! Still trying to learn to become a better scripter on the job :)
New challenge for assistance, if anyone cares to help, and its two parted! First part, I wanted to create a script at work that would ping a server that was supplied in an argument, then a count (amount of times)... (5 Replies)
Discussion started by: gkelly1117
6. Shell Programming and Scripting
I have a file serverlist in that all host names are placed.
i have written a small script
for i in `cat serverlist`
ping $i >> output.txt
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
7. Shell Programming and Scripting
Hi. I have a server with multiple network ports that need to be tested to a list of destinations. I'm trying to write a scripts to automate this but can't seem to get past an error and could use some help.
I have two test files one contains the ip addresses of the onboard NICs and the other... (10 Replies)
Discussion started by: mikez104
8. Shell Programming and Scripting
We have some 300 servers in the Data center and some of them are running with AIX and some of them are running with Solaris.
I need a script which can be run in one of the server and that script should ping the hostname of all the 300 servers.
Also the script should notify if any server is... (9 Replies)
Discussion started by: newtoaixos
9. Shell Programming and Scripting
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 184.108.40.206 30
Sending 30 Ping Packets to 220.127.116.11
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
I would like to ping a list of servers in a text file. Can anyone help? (1 Reply)
Discussion started by: gbarkhor