Show the top 30 httpd users' IP addresses.
tail -10000 /var/log/httpd/access_log | awk '{print $1}' | sort | uniq -c | sort -nr | tail -n30

Category: Linux Tags:
netstat -tunapel
Show detailed information for all connections (Protocol, Listening Address, Foreign Address, State, User, Inode, and PID/Program Name).

Category: Linux Tags: