Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use debian linux debian 6 (Linux 2.6.32-5-amd64 on x86_64) and if I query the process stat list (ps or top) every process has zero cpu usage. If I query the apache stat there is also zero cpu usage.

I have installed every upgrade package but the problem is still on. And I forgot to mention that the server has load. So the cpu usage mustn't be zero!

This is a HP server with SAS RAID1, 12GB ram and one Intel(R) Xeon(R) CPU E5504 @ 2.00GHz, 4 cores. (not virtual)

I think there must be some missconfigure or some file has damaged or something. I'm not linux specailist so I don't know what can cause this.

share|improve this question
Is your server actively receiving requests or is it idle? – Khaled Apr 23 '12 at 7:38
No it isn't idle it has load. The apache example has average 5-10 request / sec and the mysql has load too. So the cpu usage must be over zero. Average 5-10 process queue for the cpu. The problem that because I can't see the cpu usage at the process list I can't analyze which process uses too much cpu. – The King Apr 23 '12 at 8:21
Is this a virtual server? – Janne Pikkarainen Apr 23 '12 at 8:27
no this is not it is a dedicated server what serves one online travel agency website. – The King Apr 23 '12 at 8:36
Try the "show threads as processes" option, which I think is the "H" option to ps. – pjc50 Apr 23 '12 at 8:55

This sounds a lot like a virtual server problem. If you are using VMware make sure vmware tools are installed and running.

Vmware might not be allocating cpu time to it and that is basically the only thing I can think of that could cause this discrepancy. If you are using vmware, reinstall vmware tools and run etc

share|improve this answer
sorry but this is a dedicated server with no virtualization enabled. – The King Apr 23 '12 at 9:56
There is a huge difference between a VPS and a VM, and I think your server may be the latter--i.e., it is your server, a single host, but it is hosted on a large server designed for running multiple VMs. Being unable to read CPU stats would be a serious issue that would be extremely difficult to explain otherwise--and often times, the simplest answer is the right one. :) – Andrew M. Apr 23 '12 at 16:19
up vote 0 down vote accepted

The server has freezed and I had to restart it. After the restart the cpu usage showing is working in the top and in the ps util too. I don't know what was wrong but the restarting solved it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.