GNOME Bugzilla – Bug 170921
fails to function with 2.4 kernel
Last modified: 2005-04-14 19:24:12 UTC
Multiload applet fails to show any processor activity with 2.4 kernel. Apparently GLIBTOP_CPU_IOWAIT isn't available, making the following assertion in linux-proc.c fail: g_return_if_fail ((cpu.flags & needed_cpu_flags) == needed_cpu_flags);
Created attachment 38941 [details] [review] proposed patch Remove iowait from mandatory flags. If iowait value is missing, initialize it to known value (zero)
loadavg also fails to show anything useful. While top shows loadavg of 80% or so, the applet shows 0% .. when top shows > 100%, the applet shows 8%
Debugging loadavg little further it seems that there's only two different values being given, 0.00 and 1.00 :-/
(hmm, bugzilla has changed a bit, let's see what this does) This patch looks great. G-A hasn't branched yet, but it can be committed to HEAD.
2005-03-20 Davyd Madeley <davyd@madeley.id.au> * linux-proc.c: Make the CPU graph work on Linux 2.4 again. Closes #170921. Patch by Tommi Komulainen <tommi.komulainen@iki.fi>.
*** Bug 300644 has been marked as a duplicate of this bug. ***