Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1128
  • Last Modified:

Count network connections on a specific port

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
chrisdownes
Asked:
chrisdownes
1 Solution
 
dfkeCommented:
netstat -an | find "7001" | find /C "ESTABLISHED"

That should count the established connections containing 7001
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now