摘要: 查看连接失败次数 cat /var/log/secure | awk '/Failed/{print $(NF-3)}' | sort | uniq -c | awk '{print $2" = "$1;}' 查看连接成功次数 cat /var/log/secure | awk '/Accepted 阅读全文
posted @ 2017-12-21 12:04 Dsp Tian 阅读(1711) 评论(0) 推荐(0) 编辑