![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell脚本
美人心计1999
这个作者很懒,什么都没留下…
展开
-
shell脚本
#/bin/bash LOAD=$(awk '{print $1}' /proc/loadavg) CPUNUM=$(grep -c processor /proc/cpuinfo) if [ $(echo "$LOAD > $CPUNUM" | bc) = 1 ]; then RESULT=$(ps -eo pcpu,pmem,user,args | awk '$...2013-05-14 15:01:10 · 87 阅读 · 0 评论 -
自动导入sql命令
#!/bin/sh #host host="192.168.150.73" #user user="xxxx" #password password="xxxx" #ddd #db db="xxxx" #mysqldump mysqldump="/opt/lampp/bin/mysqldump" #mysql mysql="/opt/lamp.原创 2013-05-30 17:01:10 · 190 阅读 · 0 评论