Link to home
Start Free TrialLog in
Avatar of jonnyfunfun
jonnyfunfun

asked on

Determine RAM and CPU usage

I think the question title explains itself.  How can I get the current CPU utilization (as a percent) and the RAM usage (also as a percent) in VB.net?  Tks
ASKER CERTIFIED SOLUTION
Avatar of The_Biochemist
The_Biochemist

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of platinumbay
platinumbay

Use the free download from Microsoft, called Managament Extensions for VS.NET.  It gives you access to WMI, and two of the tabs are memory and processor.

The download link is http://www.microsoft.com/downloads/details.aspx?FamilyId=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en

There is more info about this add-in here:
http://www.c-sharpcorner.com/Code/2003/Oct/WMIProviderGuide.asp
Avatar of jonnyfunfun

ASKER

Thanks for the help!  Sorry it took me long to get back to this.  I finally got around to testing it all out.  Thanks a bunch!