Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command line - find connected users

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

I need some command line to find connected users.
Currently I do it using "netstat -a|find" , but this is too slow.
Anything faster available ?
thanks

Long live king Moshiach !
 
You can try psloggedon. Never really tried it across a network though.

However, depending on the size of your fleet of computers, may I suggest something I use.

I wrote a script so that while a computer is connected to the LAN using a network cable, it writes on a server a text file with the PC as the name, the logged on user. Then I just search those text files for the user ID I'm looking for. Usual look up time less than a minute. It's also handy on laptops to see how often they are plugged in via the network cable.
 
OK, have found psloggedon utility.
However - it does not provide all the info "netstat -a" does for me ...
thanks

Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top