刚给服务器加了日志分析脚本,用起来真香…以前看log跟看天书一样,现在能直接看出哪里出问题了,简直不要太爽!
#!/bin/bash
tail -f /var/log/nginx/access.log | grep -E "(404|500|403)"
登录/注册