System.Diagnostics.PerformanceCounter cpuCounter = new System.Diagnostics.PerformanceCounter();
cpuCounter.CategoryName = "Processor";
cpuCounter.CounterName = "% Processor Time";
cpuCounter.InstanceName = "_Total";
Response.Write(cpuCounter.NextValue().ToString());