Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

WMI with Perl

by kidwahoo94 (Novice)
on Mar 07, 2003 at 19:39 UTC ( [id://241235]=perlquestion: print w/replies, xml ) Need Help??

kidwahoo94 has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know where I can find some info on WMI and Perl (modules, manuals, etc.).

Title edit by tye (no single-word titles, please)

Replies are listed 'Best First'.
Re: WMI with Perl
by LD2 (Curate) on Mar 07, 2003 at 19:48 UTC
    here's an example from the ASPN mailing lists:
    #! perl -w use Win32::OLE; $instances = Win32::OLE->GetObject("winmgmts:")->InstancesOf("Win32_Process") or die "Cannot access WMI"; for my $proc (in $instances) { printf "%5d %7d %s\n", $proc->{ProcessId}, $proc->{WorkingSetSize}/1024, $proc->{Name}; }
    haven't tested it to see if it works.

    but as others said.. Google is your friend.
Re: WMI with Perl
by tall_man (Parson) on Mar 07, 2003 at 19:45 UTC
Re: WMI with Perl
by Enlil (Parson) on Mar 07, 2003 at 19:49 UTC
    Did you try CPAN or the Oracle or this sites super search. All seem to bring back information about WMI, without knowing your purpose, it is hard to more specific.

    -enlil

Re: WMI with Perl
by sschneid (Deacon) on Mar 07, 2003 at 19:45 UTC
Re: WMI with Perl
by skki (Initiate) on Mar 07, 2003 at 20:13 UTC
    have a look at this
    http://www.perl.com/CPAN/modules/index.html

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://241235]
Approved by jlk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-24 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found