Solved

Count network connections on a specific port

Posted on 2011-03-23
1
1,108 Views
Last Modified: 2012-05-11
I need to know at any point how many users are connecting to an internal web based app. So far I have used netstat to see the connections and count them manually but we are going to have around 2000 users going live today. This is what I have so far is there any way i can use this to count the connections instead of listing?

netstat -an |findstr 7001
0
Comment
Question by:chrisdownes
1 Comment
 
LVL 10

Accepted Solution

by:
dfke earned 500 total points
ID: 35198349
netstat -an | find "7001" | find /C "ESTABLISHED"

That should count the established connections containing 7001
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question