RHEL

2

tail -10000 /var/log/httpd/access_log | awk '{print $1}' | sort | uniq -c | sort -nr | tail -n30

Show the top 30 httpd users' IP addresses.

redaudit's picture
Submitted by redaudit 2 years 27 weeks ago – Made popular 2 years 27 weeks ago
Category: Linux   Tags:
0

netstat -tunapel

Show detailed information for all connections (Protocol, Listening Address, Foreign Address, State, User, Inode, and PID/Program Name).

redaudit's picture
Submitted by redaudit 2 years 27 weeks ago – Made popular 2 years 27 weeks ago
Category: Linux   Tags:
Page generated in: 0.000792 seconds.