Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

  (email not shown publicly)

Journal of djberg96 (2603)

Sunday November 02, 2003
11:29 PM

Win32 process info gripe

[ #15525 ]
I was just looking over Win32::Process::Info and comparing it to how I do things in my own package. To my surprise, Tom Wyant (the author) provides an interface that I hadn't heard of before (or forgot about) called WMI - Windows Management Instrumentation. I don't understand it yet.

The problem with getting process information on Win32 systems is that there are *too many* different ways to do the roughly the same thing. Of course, the differences are just big enough that no one interface gives you all the information that you want. That, or it's not supported on your version of Windows (or requires additional components be installed).

I found this page this lists no less that FIVE ways to enumerate processes information on Win32 systems. This includes one, ZwQuerySystemInformation, that isn't even documented on the MSDN site.

What a pain.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Windows Management Instrumentation (WMI) has been around for since the days of Windows NT 4 SP4 and was been touched upon from the perspective of Perl in "Perl for System Administration" by David N. Blank-Edelman - This reference however only devotes half a dozen pages to this interface but if you have a Safari subscription, might be worth a look-see for a fairly concise overview of the interface.