ping multiple Ips with python
Erik Max Francis
max at alcyone.com
Fri Jan 3 20:53:58 EST 2003
".d.hos" wrote:
> We're trying to monitor various IP responses via a ping command, and
> record errors to a database. we have about 350 IP numbers that need
> this sort of logging, and walking through the IP sequentially seems to
> take quite awhile.
>
> I was wondering if there was a python module or utility that could
> ping multiple IPs in a multithreaded fashion? or, any ideas how one
> might code this functionality?
You can either do asynchronous I/O with select or threads.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Divorces are made in Heaven.
\__/ Oscar Wilde
Computer science / http://www.alcyone.com/max/reference/compsci/
A computer science reference.
More information about the Python-list
mailing list