简体   繁体   English

Python Windows资源监控

[英]Python Windows Resource Monitoring

I was looking to monitor processor usage, memory usage, disk I/O, network interface usage, using Python in Windows. 我希望在Windows中使用Python来监控处理器使用情况,内存使用情况,磁盘I / O,网络接口使用情况。 Is this possible? 这可能吗? Does there exist some sort of API in Windows to allow me access to that information or perhaps a module? Windows中是否存在某种API以允许我访问该信息或模块? Thanks! 谢谢!

The WMI module might be an interesting option for you. WMI模块可能是一个有趣的选项。 It may be an overkill, but it does look like a very standard and reliable way of querying the state of a Windows machine. 它可能是一种矫枉过正,但它确实看起来像一种非常标准和可靠的方式来查询Windows机器的状态。 Check out WMI Cookbook 查看WMI Cookbook

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM