Hi.. I'm having an issue with a Centos 5.6 server & noticed that top reports 0.0% cpu idle time. (user and system typically split 80/20 but varying)
The actual issue is intermittent network disconnects that may (arguably) be caused by a spinning cpu. However, vmstat reports 99% idle time (much as I would normally expect it).
I'm planning a reboot to see if that can help (it hasn't been rebooted in a year and a half) but I'm intrigued what might be causing the discrepancy.
Any thoughts welcome.
Difference between top and vmstat
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Difference between top and vmstat
So you have not applied any security/bug fixes for a year and a half.
Do a yum update, reboot, and see if the issue still exists.
Do a yum update, reboot, and see if the issue still exists.
Re: Difference between top and vmstat
You need to update. Badly. 5.6 was released over 4 years ago and there have been numerous security related patches since then. Some of them serious. If you update then you'll get a 4 year newer kernel and many bugs have been fixed in that too.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 3
- Joined: 2015/03/20 12:55:46
Re: Difference between top and vmstat
Alas update isn't an option. Its a regulated system
Its also isolated, so security is mitigated (a little, at least).
Its also isolated, so security is mitigated (a little, at least).
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Difference between top and vmstat
Well, if you can't do any updates, you will have to live with it the way it is.
-
- Posts: 3
- Joined: 2015/03/20 12:55:46
Re: Difference between top and vmstat
I guess that much I'm comfortable with, but I like to know what it is I'm living with, if there is a difference between top and vmstat, which is authoritative?Well, if you can't do any updates, you will have to live with it the way it is.
The presenting complaint is something that may well have been patched, too, and I'll have to live with that, too.