I posted a question up on Usenet a couple of years ago asking how to do non-blocking pings on Win32. I got some great answers, though none of them turned out to be practical.
Given that time has passed, and that I have discovered this superb website, I thought I'd ask again...
I have quite a few admin processes that ping (using Net::Ping) a list of 3000+ machines, and this can take a while. So I'd like to run them concurrently, say 10 at a time. That way timeouts don't slow things down so much.
Trouble with Net::Ping was that it blocked threads "fork()ed" in my script, and so ultimately only one ping ran at a time.
Question, then, is how do I get my scripts to ping these machines really fast? Preferably this would be without installing any non-core modules, and all inside a single script :)
Many thanks,
Gordon
In reply to Non-blocking pings on Win32 by TheFluffyOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |