Solved

Get current CPU Load and available free physical memeory

Posted on 2006-11-11
2
370 Views
Last Modified: 2008-02-01
Hi,

How can I get the current CPU load (i.e. available system idle time as percent) and also the level of free physical memory using C#?

Also:

Without any additional effort on my part (i.e. storing values over a short time series), is it possible to deliver both of these values as a mean average? I.e.:

"What was the average CPU load in the last X seconds?"
"What was the average level of free physical memory in the last X seconds?"


Thanks!
0
Comment
Question by:James_15
2 Comments
 
LVL 11

Accepted Solution

by:
Jase-Coder earned 500 total points
ID: 17922467
in visual studio 2005 in your toolbox under components there is a component called: PerformanceCounter you can use that
0
 

Author Comment

by:James_15
ID: 17925109
Cheers!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question