Linux - Determine number of unique hosts connected to server
Normally; I would use netstat -a | grep <port number>
To see a list or to get a count of how many connections to a particular port. However, I need a bit more granular output so that I can also see the number of UNIQUE hosts connected to that port. Otherwise, the current output I am getting will show multiple connections a host may have; which doesn't give me an accurate 'count' of total UNQIUE hosts connected.
Thanks
|