跳到主要內容

解析 httpd access_log 來源 IP 的 request 數!

cat xxx-access_log | cut -d ' ' -f 1 | sort -b | uniq -c | sort -n

解析 httpd access_log 來源 IP 的 request 數!
cat xxx-access_log | cut -d ' ' -f 1 | sort -b | uniq -c | sort -n