Subscribe to How-To Geek

Display the Count of TCP Connections By IP Address

From HowToGeek

Jump to: navigation, search

If you've ever wondered how many connections a specific IP address has open to your server, you can run this sweet little command to see every IP Address with a total connections count next to it.

netstat -plan | grep :80 | awk '{print $5}' | awk -F: '{print $1}' | sort | uniq -c

 

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

All content on the How-To Geek Wiki is licensed under a Creative Commons License