[rrd-users] Re: Cricket and WMI
Stephan Harren
sh at abovenet.de
Tue Jan 28 10:35:34 MET 2003
With perl and OLE.
Example:
use Win32::OLE qw(in);
$wmi=Win32::OLE->GetObject('winmgmts:');
foreach $pstat (in $wmi->InstancesOf('Win32_LogicalDisk')) {
print $pstat->{size};
}
You can find all available WMI classes at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_classes.asp
Best regards,
Stephan
Am Montag, 27. Januar 2003 17:35 schrieb Jon Brown:
> Can someone please point in to instructions on how to pull wmi information.
>
> Jonathan Brown
--
Stephan Harren
Manager Site Operations
MFN-IS
-------------------------------
Phone +49 69 90554 153
Fax +49 69 90554 111
Cell +49 173 7011126
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list