2019年6月1日
摘要: #!/usr/bin/env python3import os import subprocess def ping(host): result = subprocess.call('ping -c2 %s &> /dev/null'%host,shell=True) if result == 0: 阅读全文
posted @ 2019-06-01 09:29 hahamyroot 阅读(217) 评论(0) 推荐(0) 编辑