How many Unique IP’s have Connected to your Apache Website

Written by James McDonald

April 28, 2010

This will tell you how many unique IP addresses have connected to your website since the last log file rotation. So if your logs are rotated daily then you have the number of unique IP’s for roughly the last 24hour


# go to your apache logs directory and run:
$ cat access.log | awk '{ print $1 }' | sort | uniq  | wc -l
# out put 
415

0 Comments

Submit a Comment

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

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...

WizTree

Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...