title: ping + how to minimize the time of the ping command
body: <p>I want to create bash script that will verify by ping list of IP’s</p>
  
  <p>The problem is that ping to any address take few seconds ( in case no ping answer ) in spite I defined the ping as the following:</p>
  
  <pre><code>Ping –c  1 126.78.6.23
  </code></pre>
  
  <p>The example above perform ping only one time – but the problem is the time , waiting few seconds until ping ended ( if no answer )</p>
  
  <p>In my case this is critical because I need to check more than 150 IP’s ( usually more 90% of the IP’s are not alive )</p>
  
  <p>So to check 150 IP’s I need more than 500 seconds </p>
  
  <p>Please advice if there is some good idea how to perform ping quickly </p>
  
  <ul>
  <li>remark my script need to run on both OS ( linux and solaris )</li>
  </ul>