摘要: import os import time cmd = 'ifconfig | grep "RX bytes" | tail -1 | awk -F":" \'{print $2," ", $3}\' | awk \'{print $1 , " " , $6}\' > network_speed.temp' os.system(cmd) tx=0 rx=0 while True: ... 阅读全文
posted @ 2019-06-19 20:30 友哥 阅读(797) 评论(0) 推荐(0) 编辑