摘要: find . -size +100M -atime +1 -exec gzip {} \;//查看当前文件下的文件或者文件夹的大小du -h --max-depth 1 .//查看端口netstat -anp | grep 5902//重启iptablesservice iptables restart查看IP登录系统错误次数cat /var/log/secure|awk '/Failed/{print $(NF-3)}'|sort|uniq -c|awk '{print $2"="$1;}'系统启动时间date -d "$(awk 阅读全文
posted @ 2012-12-11 22:47 沙琪玛 阅读(277) 评论(0) 推荐(0) 编辑