Process Explorer = lsof for Windows

I’m messing around with Sprout still, and looking onto windows compatability.

win32-open3 0.2.5 is required for sprout, but the latest is win32-open3 0.2.6

The main difference I see in the changelog is:

Fixed RubyForge bug #20455 (closed IO stream)

[by the way, is there anyway to search Rubyforge for a bug by ID?]

So I’m looking to see how many file handles I can open in one (ruby) process on Windows, and seeing it it matches up with the 170 listed in the bug.

Anyway, while I’m investigating that, I found a really cool tool that is essentially lsof for windows.  The command line version is “handle” but there’s a cool GUI version called “Process Explorer“.

Just thought I’d share in case anyone else is looking for something like it (most likely meaning “me” at some point in the future.)

5 thoughts on “Process Explorer = lsof for Windows

  1. Windows Sysinternals
    http://technet.microsoft.com/en-us/sysinternals/default.aspx

    File and Disk Utilities
    http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx
    Junction — Symbolic links for windows

    Network Utilities
    http://technet.microsoft.com/en-us/sysinternals/677683af-3f5e-42ea-8116-9c92acd2c271.aspx
    Whois

    Process Utilities
    http://technet.microsoft.com/en-us/sysinternals/cb56073f-62a3-4ed8-9dd6-40c84cb9e2f5.aspx
    PortMon – Monitor Ports
    Process Monitor
    ShellRunAs – sudo
    PSTools – pslist, pskill
    ListDLLs

    Security Tools
    http://technet.microsoft.com/en-us/sysinternals/25e27bed-b251-4af4-b30a-c2a2a93a80d9.aspx

    PsExec – like chroot, I wouldn’t really trust this though.

    System Information
    http://technet.microsoft.com/en-us/sysinternals/86a95979-23f8-45f5-9480-f4ed9dab3aab.aspx

    Very interesting stuff. Of course I haven’t done that much on Windows (not that I’m a unix guru either, but at least the tools are a bit more publicized — and used to be installed by default on Linux)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s