摘要: while true ; do mysql -h127.0.0.1 -usbtest -psbtest -Bse "show engine innodb status\G" | grep "flushed up to" | awk '{print $5}' | tr "\n" " " | awk ' 阅读全文
posted @ 2022-01-23 17:56 友哥 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 2021年,之所以有能开启眼界,是因为自己正逐步跳出舒适区。以前一直在舒适区,一直就只想搞技术,其他所有机会一概不看,21年在耳濡目染下,眼界开阔了,考虑事情也更加全面了,没想到技术也有较大提升。 阅读全文
posted @ 2021-12-10 21:04 友哥 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 想要头秃,就搞这个 阅读全文
posted @ 2020-05-19 16:30 友哥 阅读(163) 评论(0) 推荐(0) 编辑
摘要: net.core.rmem_max = 16777216net.core.wmem_max = 16777216net.core.rmem_default = 16777216net.core.wmem_default = 16777216net.ipv4.tcp_rmem = 4096 87380 阅读全文
posted @ 2020-04-29 21:49 友哥 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 名不虚传 阅读全文
posted @ 2020-02-20 16:47 友哥 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #include <thread> #include <atomic> #include <cassert> #include <string> std::atomic<std::string*> ptr; int data; void producer() { std::string* p = n 阅读全文
posted @ 2020-02-09 16:11 友哥 阅读(310) 评论(0) 推荐(0) 编辑
摘要: package com.meituan.stabletest.sshtest; import java.io.InputStream; import com.jcraft.jsch.Channel; import com.jcraft.jsch.ChannelExec; import com.jcraft.jsch.JSch; import com.jcraft.jsch.Session; /** 阅读全文
posted @ 2019-11-06 10:27 友哥 阅读(1752) 评论(0) 推荐(0) 编辑
摘要: https://bugs.mysql.com/bug.php?id=96758 阅读全文
posted @ 2019-10-24 11:44 友哥 阅读(280) 评论(0) 推荐(0) 编辑
摘要: http://mysql.taobao.org/monthly/2015/05/ 阅读全文
posted @ 2019-09-09 23:04 友哥 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 接收端 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 友哥 阅读(369) 评论(0) 推荐(0) 编辑