Tracking concurrent telnet sessions – Windows 2003

32960 pts.
Tags:
Microsoft Windows Server 2003
Telnet
Windows Server
Does anyone know a good method of tracking concurrent telnet sessions in Windows Server 2003? I know you can type netstat -an | find ":23" to find all connections to ports beginning with 23 but this is an issue for other services listening on ports like 2301 or 2381 for example. We are trying to track concurrent telnet sessions for licensing purposes. Thanks for the assistance.

Software/Hardware used:
Windows, Windows Server 2003, telnet

Answer Wiki

Thanks. We'll let you know when a new response is added.

You basically answered your own question. All you need to do is add a space after 23.

<b>netstat -an | find “:23 “</b>

That will weed out the 2301 or 2381 ports from the output.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Labnuke99
    True - good catch so now just need a quick way to count the number of lines returned at the command prompt.
    0 pointsBadges:
    report
  • Labnuke99
    btw - thanks MShen.
    0 pointsBadges:
    report
  • mshen
    You can use a powershell command to count the lines. @(netstat -an | select-string ":23 ").count
    27,385 pointsBadges:
    report
  • sumeshbnr
    HI, By the bultin network monitor graphical tool in windows 2003 can do an dyou can filter based on port /application to view the output. Thanks.
    1,675 pointsBadges:
    report
  • Ajaykotma
    can we trace or know about client after disconnect ?
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following