Here’s some simple and effective code to fetch CPU usage / load percentage in either ASP.NET or a .NET forms application. WIth the forms application, we’ll set it up to auto refresh every half second. You can set it to longer or shorter if you want.
Some load balancers can use a simple ASP.NET page like [...]
Monthly Archives: July 2008
Retrieving CPU Usage in .NET
July 28, 2008 – 5:26 pm