How can I tell who else is logged on to my PC?

Rob Gillespie

Cinematographer
Senior HTF Member
Joined
Aug 17, 1998
Messages
3,632
Not sure if this is what you want, but if you open a DOS screen and type 'netstat' it will show you all your current open connections.
 

Iain Lambert

Screenwriter
Joined
Jun 7, 1999
Messages
1,345
'netstat' will list the tcp connections, but you can also use 'nbtstat -s' to see netbios connections (i.e. mapped drives).
 

Iain Lambert

Screenwriter
Joined
Jun 7, 1999
Messages
1,345
I've just tried it for you:
netstat 10
gave me a netstat report that refreshed every 10 seconds; is this not working for you?
As for scrolling, are you on NT/2k or a 'home' Windows platform? If you're on NT then just change the properties and add a scrollbar by increasing the screen buffer height.
 

Iain Lambert

Screenwriter
Joined
Jun 7, 1999
Messages
1,345
oops

Anyway, for netstat the format is
Proto - this is the protocol, so TCP or whatever
Local Addresss - this is your machine:port number
Foreign Address - the remote machine:port number
State - if its opening the connection, listening on it, closing it or if its ESTABLISHED. So you just need the bit before the colon in the Foreign Address column.
See? Easy.
edit - sorry, I forgot to explain that 'listening' means the port is open and actively waiting to see if someone wants to connect to it.
[Edited last by Iain Lambert on August 16, 2001 at 10:45 AM]
 

Forum Sponsors

Forum statistics

Threads
344,404
Messages
4,709,428
Members
141,262
Latest member
Deano86