From: Jole on

I wan't to display data about cpu and disk usage on the web page that
runs on my server. I'm using performance counter to do that and ajax
timer to update data every second. The problem is that value of
cpu usage is alway zero. I try to make WinForm App with the same code
for getting cpu usage and it works fine. I don't know where is the problem.
Information on my page iz refreshing every second but values are
alway zero. Why?