Here is a small tool in Python that Pings a list of hosts. It is multithreaded so hosts are pinged concurrently.

Something like this might be useful to verify your test environment is alive and has no network latency issues.

<font class="small">Code:</font><hr /><pre>
#!/usr/bin/env python
# Host/Device Ping Utility for Windows
# Corey Goldberg (, 2008
# Pinger uses your system's ping utility to send an ICMP ECHO_REQUEST
# to a list of hosts or devices. This is useful for measuring network
# latency and verifying hosts are alive.

import re
from subprocess import Popen, PIPE
from threading import Thread

class Pinger(object):
def __init__(self, hosts):
for host in hosts:
pa = PingAgent(host)

class PingAgent(Thread):
def __init__(self, host):
Thread.__init__(self) = host

def run(self):
p = Popen('ping -n 1 ' +, stdout=PIPE)
m ='Average = (.*)ms',
if m: print 'Round Trip Time: %s ms -' %,
else: print 'Error: Invalid Response -',

if __name__ == '__main__':
hosts = [
</pre><hr />