python wmi使用
python wmi
官方开发文档https://msdn.microsoft.com/en-us/library/aa394388(v=vs.85).aspx
WMI使用的WIN32_类库名 http://blog.csdn.net/liuxingbin/article/details/6790124
win32com下载地址:https://sourceforge.net/projects/pywin32/files/pywin32/
wmi下载地址:https://pypi.python.org/pypi/WMI/1.4.9
获取cpu用例
import wmi def get_cpu(self):
# Initilization
c = wmi.WMI() data_dict = {}
for cpu in c.Win32_Processor():
device = cpu.DeviceID.lower() # Get cpu_usage
data_dict[device] = {'volume': float(cpu.LoadPercentage), 'unit': '%'}
return data_dict print get_cpu()
获取风扇信息
import wmi def get_fan(self):
# Initilization
c = wmi.WMI()
# c.Win32_ActionCheck()
for i in c.Win32_Fan():
print i print get_fan()
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeUAAADiCAIAAAD/IEg5AAAgAElEQVR4nO2daZcTR4Ku58fcOdczPXe2u5y+HoFCVZKoQsVWpQJctllshEqlrTAyspHxQoNNutuJGXvMJgOFF9G0RzRuF8ZNY1rG46U/TPtLT/dM2XPO/JP7Iey4QWwZKaWUmar3OfpQJKlQZKT0KBQZ8eafJZKphx56aH5+PpFM6R7/493c/7yRFx/duf91esvDOe2z6OOhhx4y70AflUqlWq1Wq9VKpWKzfyKZmuAgAAAw7vyZja9/dHXqbz/Y/sCjs+1/VzMJ4m1VS18vLS1VKpVKpbK0tARfAwCAjJWv/+JK+q+vz3z/+PnM3/zT1I93WCkVvgYAgKCw8vV/v0T+6trUX12b+tH7m/7+yOQ/pGxl7cvX5XK5XC7D1wAAoMTK13/+9sa/7GR+dG7i/+wm9qb25etSqUR9XSqV4GsAAJCx8vV/u/DwXz+ffDjjz9S+fN3HA74GAKwrrHw9yAO+BgCAQICvAQAgHoy5rwuEOGsuIcVRtulQmSWk22t111abvVVC8n6fPn4NAsD6Ycx9PSDdTpE03CEV3h/NBdLsrRhMXSCkveaShRbb0nbzs+6Kr1dxGqS7tip8K3Q7Rbqx0Fk117C7tkL37K6t+n1pAIAO+N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b8+VhPw8XL41lE+PRfoaAGbgax+EG/noxCE+lGgWAfMrzfjsHnYgbKm6ff4nv2qZTdHVPR2+BmMAfO2DcCMfnZjEh+oiI/hVhUJfu+m6nk+X4U+HOd5PWU+2PTrpawCYga99EIU81ejHh/LjIcICaPqicooIn89grpvyeMmDIRi+Jh3D1yBGwNf9EGKeavTjQz0j2YQWUDamXCz7slRmaMgZcgCMH/B1n4w+8jFG8aHKF6K/PwoLLTn2j0/x7288xPPVARgD4GsfhBv5GJf4UHP+tdNZKXRW+C3CXWn6u97I8Hu7wkilZQJgBr72R4iRj3GJDzX4mlaAP3B2qZa/VYr9fD7zyInNL4NIpWUCYAa+DgbkqcaUSKVlAmAGvh4URD4CAEYDfA0AAPEAvgYAgHgAXwMAQDyArwEAIB6Mra9ZsAau/gMAxoOx9TUFq5MBAGPD+Ps6IrmjAAAwIGPua+VaO0SyAQDiyJj7mkhroAl8DQCIJ2Puaz6hAgAAYs2Y+xrj1wCAsWE9+hoRmgCAODL+vpbn8yFCEwAQR8bW14b1MojQBADEkbH1NQAAjBnwNQAAxAP4GgAA4gF8DQAA8QC+BgCAeABfAwBAPICvAQAgHsDXAAAQD+BrAACIB/A1AADEA/gaAADiAXwNAADxAL4GAIB48P8AlTR7DD9d0u8AAAAASUVORK5CYII=" alt="" />
python wmi使用的更多相关文章
- Python WMI获取Windows系统信息 监控系统
#!/usr/bin/env python # -*- coding: utf-8 -*- #http://www.cnblogs.com/liu-ke/ import wmi import os i ...
- Python WMI获取Windows系统信息
#!/usr/bin/env python # -*- coding: utf-8 -*- #http://www.cnblogs.com/liu-ke/ import wmi import os i ...
- python - wmi模块学习(windwos硬件信息获取)
获取windows操作系统的硬件信息 #!/usr/bin/env python # -*- coding: utf-8 -*- # http://www.cnblogs.com/liu-ke/ im ...
- python wmi模块 获取windows内部信息
WMI (Windows Management Instrumentation) 模块可用于获取 Windows 内部信息,在使用Python获取Windows系统上的相关的信息可以使用WMI接口来获 ...
- python wmi模块学习
# -*- coding: cp936 -*- import wmi c = wmi.WMI () for sys in c.Win32_OperatingSystem(): print " ...
- python wmi远程数据获取
- python在windows下获取cpu、硬盘、bios、主板序列号
测试 此处使用的是wmi库,可以去google里面搜索“python wmi” import os, sysimport timeimport wmi,zlib def get_cpu_info() ...
- Python的50个模块,满足你各种需要
Python具有强大的扩展能力,我列出了50个很棒的Python模块,包含几乎所有的需要:比如Databases,GUIs,Images, Sound, OS interaction, Web,以及其 ...
- Python类库下载
https://sourceforge.net/projects/pywin32/files/pywin32/ WMI库的安装 下载 http://timgolden.me.uk/python/wmi ...
随机推荐
- IT人员如何保护视力
最近感觉眼比较难受,有点干,估计是因为用上老婆淘汰的iPhone5C后屏幕太小,而我又是一个手机瘾重点患者的原因.为了保持自己5.0+的视力,做了以下工作,分享给各位朋友: Win7电脑将字体放大到1 ...
- eclipse汉化全程
在开始之前我说一下我的环境,eclipse版本eclipse-java-indigo-SR2-win32-x86_64,操作系统Win7,但是这个基本上没有影响.红字的那个注意一下,在下面需要根据这个 ...
- [HDOJ5445]Food Problem(优先队列优化多重背包)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=5445 题意:多重背包 分析:f[i][j]=max(f[i-1][j-k*w[i]]+k*v[i]) 将j ...
- MATLAB axis和axes的区别
axis中文为“轴”之意,在matlab中用于控制坐标轴的范围和样式(颜色等). axis([XMIN XMAX YMIN YMAX]) 设置当前所绘图像的x轴和y轴的范围.axis([XMIN XM ...
- ElasticSearch入门系列(五)数据
序言:无论程序如何写,最终都是为了组织数据为我们服务.在实际应用中,并不是所有相同类型的实体的看起来都是一样的.传统上我们使用行和列将数据存储在关系型数据库中相当于使用电子表格,这种固定的存储方式导致 ...
- java中的@Override标签,小细节大作用
转载:http://www.cnblogs.com/octobershiner/archive/2012/03/09/2388370.html 一般用途 ...
- myeclipse加入JavaEE
1. 2. 3. 4.
- oracle从游标批量提取数据
来源于:http://blog.csdn.net/ceclar123/article/details/7974973 传统的fetch into一次只能取得一条数据,使用fetch bulk coll ...
- python中的字符数字之间的转换函数
int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) ...
- mindmup-editabletable-编辑table的使用
官方网站:http://mindmup.github.io/editable-table/ github下载地址:https://github.com/mindmup/editable-table 我 ...