Click to See Complete Forum and Search --> : Win2k - CPU Usage


Alan777
April 9th, 2001, 07:33 AM
Can anyone tell me how to get the CPU Usage as a percentage on Windows 2000?

jmcmanus
June 28th, 2001, 12:10 PM
I found a solution that works for Win9x. Perhaps it will work on 2k, as well.

I followed along the article, http://support.microsoft.com/support/kb/articles/q174/6/31.asp and found it gives the solution for acquiring the current CPU load--practically writes the application for you.

I created a console-app project, created a thread that calls the given functions, and *voila!*. You can get the project and source at http://home.dn.net/~mcmanus/CPU_Performance.zip

John McManus
System Engineer
SAIC