Windows equivalent command of Linux lsof and fuser

What is Windows equivalent commanf of Linux lsof and fuser?

There is no direct equivalent except if you don’t install some port versions of lsof and fuser.
However Windows has a way to check which network resource is used by which command very much Like in Windows.
I would say netstat -ab is Windows command equivalent to Linux lsof and fuser.

Pretty cool to know!
C:\Tools\Putty>netstat -ab

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 GGEORGI71:0 LISTENING
RpcSs
[svchost.exe]
TCP 0.0.0.0:445 GGEORGI71:0 LISTENING
Can not obtain ownership information
TCP 0.0.0.0:902 GGEORGI71:0 LISTENING
[vmware-authd.exe]
TCP 0.0.0.0:912 GGEORGI71:0 LISTENING
[vmware-authd.exe]
TCP 0.0.0.0:3460 GGEORGI71:0 LISTENING
[Radstgms.exe]
TCP 0.0.0.0:3465 GGEORGI71:0 LISTENING
[radexecd.exe]
TCP 0.0.0.0:6000 GGEORGI71:0 LISTENING
[XWin.exe]
TCP 0.0.0.0:8288 GGEORGI71:0 LISTENING
[FrameworkService.exe]
TCP 0.0.0.0:16386 GGEORGI71:0 LISTENING
[AgentService.exe]
TCP 0.0.0.0:22201 GGEORGI71:0 LISTENING
[svctimehpc.exe]
TCP 0.0.0.0:23443 GGEORGI71:0 LISTENING
[Ditto.exe]
TCP 0.0.0.0:49152 GGEORGI71:0 LISTENING
[wininit.exe]
TCP 0.0.0.0:49153 GGEORGI71:0 LISTENING
eventlog
[svchost.exe]
TCP 0.0.0.0:49154 GGEORGI71:0 LISTENING
Schedule
[svchost.exe]
TCP 0.0.0.0:49155 GGEORGI71:0 LISTENING
[lsass.exe]
TCP 0.0.0.0:49192 GGEORGI71:0 LISTENING
[services.exe]
TCP 127.0.0.1:5939 GGEORGI71:0 LISTENING
[TeamViewer_Service.exe]
TCP 127.0.0.1:16388 GGEORGI71:0 LISTENING
[Agent.exe]
TCP 127.0.0.1:49190 GGEORGI71:0 LISTENING
[DcaTray.exe]
TCP 127.0.0.1:55591 GGEORGI71:0 LISTENING
[XWin.exe]
TCP 127.0.0.1:55591 GGEORGI71:55592 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:55591 GGEORGI71:55593 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:55591 GGEORGI71:55594 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:55592 GGEORGI71:55591 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:55593 GGEORGI71:55591 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:55594 GGEORGI71:55591 ESTABLISHED
[XWin.exe]
TCP 127.0.0.1:59946 GGEORGI71:59948 ESTABLISHED
[firefox.exe]
TCP 127.0.0.1:59948 GGEORGI71:59946 ESTABLISHED
[firefox.exe]
TCP 192.168.0.102:139 GGEORGI71:0 LISTENING
Can not obtain ownership information

 

 

Cheers Mates 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *