apache 统计日志访问IP数量#!/bin/bash# count all visited ipcat hduisa.com-access_log | awk '{print $1}' | sort -n | uniq -c | sort -n > ip_all.txt