iris0420

导航

2017年6月9日 #

浅谈如何获取机器的memory和CPU信息

摘要: 最近做了一个项目,需要获取机器的CPU和memory的使用情况。花了一些时间网上搜索了一下,自己也做了些测试。总结下来,基本上2种方式:一种是用WMI(2种),另一种是用Performance counter。 1. Use WMI to create connection to the compu 阅读全文

posted @ 2017-06-09 16:00 iris0420 阅读(391) 评论(0) 推荐(0)