Netstat

Last modified: 
Friday, May 1st, 2015
Topics: 
sysadmin

Get the Number of Connections on Port 80

netstat -an | grep ':80 ' | wc -l

Note, placing the grep search in single quotes (i.e., ':80 '), ensures it won't include other ports like :8080.


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.