Solved

Count network connections on a specific port

Posted on 2011-03-23
1
1,111 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

828 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