08 2023 档案
摘要:一、htop htop按照cpu排序 二、pidstat pidstat -p 774791 2 10
阅读全文
摘要:一、 二、服务大量CLOSE_WAIT是如何造成的?如何解决? (1) CLOSE_WAIT是TCP连接的一种状态,表示收到对方发来的FIN包,己方还没有发FIN包。这通常是正常的TCP连接关闭过程中的中间状态。但是如果CLOSE_WAIT状态的连接过多,可能表示有错误或异常导致大量连接无法正常关闭
阅读全文
摘要:一、现象 二、分析处理 (1) netstat -anp | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn 1064 101.x.xx.xx 256 47.x.x.x8 205 10.x.0.x 197 10.x.7.x 166
阅读全文
摘要:一、 pwgen [ OPTION ] [ pw_length ] [ num_pw ] (1)OPTION -c 选项指定生成的密码包含大小写字母, -c, --capitalize Include at least one capital letter in the password. This
阅读全文
摘要:一、 ❯ docker pull mysql/mysql-server:latest 。。。。 What's Next? View summary of image vulnerabilities and recommendations → docker scout quickview mysql/
阅读全文