上一页 1 2 3 4 5 6 ··· 28 下一页
摘要: 接收端 nc -d -l 5002 |tar xf - nohup sh receive.sh & 发送端 tar cf - . | nc 1.1.1.1 5002 nohup sh transfer.sh & 阅读全文
posted @ 2019-09-09 17:50 友哥 阅读(390) 评论(0) 推荐(0)
摘要: 先创建一个执行树,按照执行树执行 阅读全文
posted @ 2019-08-27 19:05 友哥 阅读(292) 评论(0) 推荐(0)
摘要: mysql -p'' -Bse'show global status like "com_%";' > qps.new while true do sleep 0.5 mv qps.new qps.old mysql -p'' -Bse'show global status like "com_%";' > qps.new date paste qps.o... 阅读全文
posted @ 2019-07-09 20:10 友哥 阅读(146) 评论(0) 推荐(0)
摘要: cat latency_s.output | grep -v "mysql" | awk '{print $4, "\t", $7, "\t", $9, "\t", $11,"\t", $13}' mysql -p'' -Bse'select event_name , total_latency from sys.x$io_global_by_wait_by_latency order by... 阅读全文
posted @ 2019-07-09 17:46 友哥 阅读(213) 评论(0) 推荐(0)
摘要: 相同QPS下,看响应时间。 阅读全文
posted @ 2019-07-05 10:50 友哥 阅读(213) 评论(0) 推荐(0)
摘要: io、线程调度? 阅读全文
posted @ 2019-07-03 16:21 友哥 阅读(270) 评论(0) 推荐(0)
摘要: 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 友哥 阅读(808) 评论(0) 推荐(0)
摘要: 软件编程是艺术、是手艺 阅读全文
posted @ 2019-06-17 11:46 友哥 阅读(275) 评论(0) 推荐(0)
摘要: pip install mysql-connector-python 阅读全文
posted @ 2019-06-13 21:25 友哥 阅读(266) 评论(0) 推荐(0)
摘要: /* If certification information is too big this event can't be transmitted as it would cause failures on all group members. To avoid this, we now inst 阅读全文
posted @ 2019-05-29 15:22 友哥 阅读(299) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 28 下一页