发布时间:2017-09-05 14:07:15
1. iostat -d -k 2Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtnvda 92.36 892.38 2253.63 47698478 .........【阅读全文】
发布时间:2017-09-01 11:42:10
1.UDP连接服务端: import socket port=8081 s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) s.bind(('',port)) print('正在等待接入...') while True: data,addr=s.recvfrom(1024) print('Received:',data,'from',addr)客户端: import socket port=8081 host='localhost' s.........【阅读全文】