Is there an equivalent in Windows for the w
command in Linux/Unix?
N equivalent Windows command for the w command in Linux/Unix
command-line-interfacewindows-server-2003
Related Topic
- Linux – n easy command line tool for packet sniffing a single command on linux
- Windows – Does Windows Have a Built-in ZIP Command for Command Line?
- Windows – What’s the command-line utility in Windows to do a reverse DNS look-up
- Nginx – How to Enable Site Command in Nginx
- Windows – built-in command-line tool under Windows like wget/curl
- Windows – How to display the first N lines of a command output in Windows? (the equivalent of Unix command “head”)
- Windows – How to display the first 50 lines of a command output in Windows? (the equivalent of Unix command “head”)
Best Answer
depending on what you are looking for
query user
,query session
, orquery process
will provide similar functionality. Tasklist /v is also useful. Typical windows workstations are single purpose. Servers usually have few actual users on them (with the exception of terminal servers) so I haven't seen a real need for a "w" type command.Yet another way would be to use
WMIC list process brief
However to get owner info you would have to call getowner for a process you are interested in.for detailed process info you can use
and view the wmic.html file in your browser