排序
利用shell脚本监控MySQL进程
#!/bin/bash #/usr/bin/nmap localhost | grep 3306 #lsof -i:3306 MYSQLPORT=`netstat -na|grep 'LISTEN'|grep '3306'|awk -F[:' ']+ '{print $5}'` function checkMysqlStatus(){ /usr/bin/my...
CentOS 7安装Mysql数据库
自从Mysql数据库软件被sun公司收购后(后来sun又被Oracle收购),新东家一心一意的想着样把Mysql商业化(就是想卖钱),无奈之下Mysql的作者自己又写了一款开源数据库软件(和Mysql一样,就是换...