GNOME Bugzilla – Bug 606579
system monitor reports active programs as sleeping
Last modified: 2012-12-11 01:18:32 UTC
Originally reported to Launchpad at https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/174164 "System Monitor reports processes are sleeping when they obviously are not. Try inserting an audio CD and playing it with Sound Juicer. Then check system monitor. The %CPU for Juicer is >0 but the status is still shown as "sleeping" This happens on many programs." This is current in Ubuntu Karmic Koala 9.10 with gnome-system-monitor version 2.28.0-0ubuntu1
Well, reading a CD is not CPU intensive and Sound Juicer is statically spending most of this time sleeping. On every refresh: - to get the cpu usage, we compute the difference between the cpu usage before and now and turn it into a % - the State column is the raw information given by the kernel. I don't know, may be could override the State to "Running" if the cpu time has increased since the last refresh ?
[Adding missing "QA Contact" entry so system monitor bug report changes can still be watched via the "Users to watch" list on https://bugzilla.gnome.org/userprefs.cgi?tab=email when the assignee is changed to an individual.]
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.