Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have over 3000 servers I need to ping in my corporate network. I found a way to ping them but I am hoping to find away to output the ping data to another text file or xls file with the hostname, ip address and the response/reply back information without having to look through 300000 lines of data and remove repeating data given from a typical dos ping.

share|improve this question
Why do you need to ping 3000 servers? Certainly there are better/more reliable ways to monitor uptime and availability? And ICMP echo doesn't necessarily mean that things are working, after all. –  MDMarra May 24 '12 at 20:11
What are you trying to accomplish? No good can come of what you're describing... –  voretaq7 May 24 '12 at 20:16

2 Answers 2

You are looking for a tool called nmap.

Example: nmap -sP would ping all hosts between and and provide a list of the hosts that respond as output.

That being said, if you are trying to inventory or monitor your network, there are more professional ways to go about it. For example, tools like Nagios can check whether certain services are operating normally and generate alerts if they are down. Observium and OpenNMS are additional options that may or may not be more appropriate for your (mysterious) situation.

share|improve this answer
And -oG and -oX will output in greppable and XML formats respectively. –  mgorven May 24 '12 at 20:17

You could look at fping or Observium if you're looking to manage a list of availability across those 3000 hosts. fping works in parallel, and it will take the input file containing a list of systems. Observium would be a nice lightweight monitoring system.

But in general, you should provide more insight into what you're trying to accomplish.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.