- 博客(1)
- 收藏
- 关注
原创 按小时统计unix机器内存和cpu使用率
给脚本赋权限chmod 755 *.sh后台执行该脚本nohup sum_capa.sh &[code="shell"]x=0totMem=`vmstat | grep 'mem=' | awk -F\= '{ print $3 }' | awk -F\M '{print $1 }'`totMem1=` echo "$totMem * 200 " | bc `w...
2011-09-06 10:15:37 151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人