摘要: 1.删除0字节文件find -typef -size 0 -exec rm -rf {} ;2.查看进程按内存从大到小排列ps -e -o “%C : %p : %z : %a”|sort-k5 -nr3.按cpu利用率从大到小排列ps -e -o “%C : %p : %z : %a”|sort-nr4.打印说cache里的URLgrep-r -a jpg /data/cache/* | strings |grep“http:” | awk -F’http:’ ‘{print “http:”$2;}’5.查看http的并发请求数及其TCP连接状态:netstat -n | awk ‘/^tc 阅读全文
posted @ 2012-11-18 20:15 swordzj 阅读(253) 评论(0) 推荐(0) 编辑