摘要:
#!/usr/bin/pythonimport paramikohost='192.168.4.101'ssh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect(hos 阅读全文
摘要:
#!/usr/bin/python #coding:utf-8 import subprocess //调用shell命令的一个模块 import threading //导入线程模块 def myping(ip): s=subprocess.call('ping -c2 -i0.1 -W1 %s 阅读全文