apache 统计日记访问IP数量

apache 统计日志访问IP数量
#!/bin/bash
# count all visited ip


cat hduisa.com-access_log | awk '{print $1}' | sort -n | uniq -c | sort -n > ip_all.txt