Title: VC compilation SNMP for Windows performance monitoring
Author: itdef
Links: http://www.cnblogs.com/itdef/p/4003599.html
Welcome Reprint please keep the text complete and indicate the source
There are several ways that Windows performance monitoring can be used:
One, your own C + + call API. To obtain such as 1, process idle and compute time comparison calculation CPU utilization 2, disk idle rate 3, traverse process various information 4 Registry query installation software. This was previously mentioned in the Processhacker study note http://www.cnblogs.com/itdef/p/3759970.html.
Second, call WMI. This before I a series of articles (http://www.cnblogs.com/itdef/p/3990541.html "host performance monitoring WMI get disk Information" ...) has also been introduced.
Third, the use of SNMP. This protocol can be used as a Windows service, which means you can not install additional software under Windows, and Linux also supports the SNMP protocol. Consider writing an open source performance monitoring software to support performance monitoring on both platforms.
Let's talk about VC compile SNMP library
Windows performance Monitoring