Parallel ping problems python puzzler

Miki miki.tebeka at gmail.com
Mon Apr 2 10:03:28 EDT 2007


Hello,

>    def run(self):
>       # -w 1 option to ping makes it timeout after 1 second
>       pingcmd="/bin/ping -c 2 -q -i 0.3 -w 1 %s >/dev/null" % ip
Not sure, but "ip" should be "self.ip", this might cause the problem.


HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list