Created
November 27, 2012 17:24
-
-
Save conorbranagan/4155665 to your computer and use it in GitHub Desktop.
test IIS integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wmi | |
w = wmi.WMI('172.23.33.110', user=None, password=None) | |
wmi_cls = w.Win32_PerfFormattedData_W3SVC_WebService(name="_Total")[0] | |
print wmi_cls.BytesSentPerSec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment