log

Logging Linux Commands for all users
Monitor Apache site traffic with Apachetop
Find IP with Most Access from Apache Log
Apache LogFormat show full domain name
Display real time statistics with Logtop
Cpanel find recently logged in users
How to get list of User-Agent from access log

Find the most requested pages

awk '{print $7}' access_log.log | sort | uniq -c | sort -nr
awk '{print $7}' access_log.log | sort | uniq -c | sort -nr | head -n 10

To view the most used User Agents

cat access_log.log |   awk -F\" '{print $6}' | sort | uniq -c | sort -nr | head -n 10

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *