cat /var/log/apache2/access.log |
awk ' {conn[$1]++;} END { for ( i in conn ) print conn[i],"",i;}' |
sort -nr | head
NB: the feline abuse is intentionally left for simplicity and modularity.
cat /var/log/apache2/access.log |
awk ' {conn[$1]++;} END { for ( i in conn ) print conn[i],"",i;}' |
sort -nr | head
NB: the feline abuse is intentionally left for simplicity and modularity.