32,735 pts.
 Tracking concurrent telnet sessions – Windows 2003
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
ASKED: September 25, 2009  5:56 PM
UPDATED: February 6, 2011  7:43 PM

Answer Wiki:
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.
Last Wiki Answer Submitted:  September 25, 2009  6:50 pm  by  mshen   27,325 pts.
All Answer Wiki Contributors:  mshen   27,325 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

True – good catch so now just need a quick way to count the number of lines returned at the command prompt.

 0 pts.

 

btw – thanks MShen.

 0 pts.

 

You can use a powershell command to count the lines.

@(netstat -an | select-string “:23 “).count

 27,325 pts.

 

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 pts.

 

can we trace or know about client after disconnect ?

 10 pts.