01 2019 档案

mysql基本优化
摘要:文件打开数 show status like "%Open_files%" Open_files 133 show VARIABLES like "%open_files_limit%" open_files_limit5000 比较合适的设置:Open_files / open_files_lim 阅读全文

posted @ 2019-01-31 11:05 小白君的成长 阅读(258) 评论(0) 推荐(0) 编辑

简易的mysql性能查询脚本
摘要:#!/bin/bash mysqladmin -P3306 -uroot -p -h127.0.0.1 -r -i 1 ext |\ awk -F"|" \ "BEGIN{ count=0; }"\ '{ if($2 ~ /Variable_name/ && ((++count)%20 == 1)){\ print "----------|---------|--- MySQL Comm... 阅读全文

posted @ 2019-01-26 15:00 小白君的成长 阅读(397) 评论(0) 推荐(0) 编辑

kill, killall, pkill, xkill
摘要:1. Kill Command – Kill the process by specifying its PID All the below kill conventions will send the TERM signal to the specified process. For the si 阅读全文

posted @ 2019-01-18 20:29 小白君的成长 阅读(296) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示