Hi All,
Does anyone know how to find the current CPU usage in NT or Win using APIs?
Thanks so much!
Cheers,
wmeng72
Printable View
Hi All,
Does anyone know how to find the current CPU usage in NT or Win using APIs?
Thanks so much!
Cheers,
wmeng72
You can use the System monitor control to perform that. It can give you all sort of things like CPU usage, free memory, and a lot of other stuff. I do believe that it comes with Win2K, don't know about NT or other versions of Windows.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
Have also a look here:
http://codeguru.com/cgi-bin/bbs/wt/s...age=&view=&sb=
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater