This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # ping a list of host with threads for increase speed | |
| # use standard linux /bin/ping utility | |
| from threading import Thread | |
| import subprocess | |
| try: | |
| import queue | |
| except ImportError: | |
| import Queue as queue |