IPs from Apache access logs…

[code]$ cat ./access_log | awk ‘{print $1}’ | sort -n | uniq -c | sort -nr | head -20[/code]

IPs that logged into server (via SSH, etc)…

[code]$ last[/code]

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments