xfce4-taskmanager doesn't show cpu percentages

Bug #298433 reported by A.Kromic
4
Affects Status Importance Assigned to Milestone
xfce4-taskmanager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xfce4-taskmanager

CPU percentages of all processes stay at 0%.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/xfce4-taskmanager
Package: xfce4-taskmanager 0.4.0-1
SourcePackage: xfce4-taskmanager
Uname: Linux 2.6.27-7-generic x86_64

Tags: apport-bug
Revision history for this message
A.Kromic (akromic) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for taking the time to report this bug. I installed xfce4-taskmanager and compared the cpu usage to that shown in Applications -> System -> Task Monitor. The CPU shows about the same in both, but task-monitor shows the action of the application. Since most apps are ¨Sleeping¨, the CPU usage is 0. With both applications, if I move a mouse or move a window, at least one task will show an increase in CPU percentage. All applications will show 0 for CPU% when they are not in use.

Changed in xfce4-taskmanager:
status: New → Incomplete
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote : Re: [Bug 298433] Re: xfce4-taskmanager doesn't show cpu percentages

Le samedi 06 décembre 2008 à 02:44:38, Charlie Kravetz a écrit :
> Thanks for taking the time to report this bug. I installed
> xfce4-taskmanager and compared the cpu usage to that shown in
> Applications -> System -> Task Monitor. The CPU shows about the same in
> both, but task-monitor shows the action of the application. Since most
> apps are ¨Sleeping¨, the CPU usage is 0. With both applications, if I
> move a mouse or move a window, at least one task will show an increase
> in CPU percentage. All applications will show 0 for CPU% when they are
> not in use.
>
> ** Changed in: xfce4-taskmanager (Ubuntu)
> Status: New => Incomplete
>

Did you try on hardy or intrepid? It seems to works on hardy, but is
broken on intrepid (intrepid ships the 0.4.0 version which is a partial
rewrite).

Someone should check the changes in the refresh_task_list() function
in src/functions.c between intrepid's 0.4.0 and hardy's 0.3.2 versions,
or report the bug upstream.

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

My comments are using Intrepid 8.10 with all updates as of 2008-12-06. Are both task-manager and Task Monitor then broken since both show the same things in CPU% ? I compared them side by side.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Le samedi 06 décembre 2008 à 03:36:22, Charlie Kravetz a écrit :
> My comments are using Intrepid 8.10 with all updates as of 2008-12-06.
> Are both task-manager and Task Monitor then broken since both show the
> same things in CPU% ? I compared them side by side.
>

What's your cpu? single or multi-core?
I have a multi-core, so does the bug reporter (by looking at the
attached ProcStatus.txt). The bug is probably here.

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you. I have an AMD Athlon 64 3500+ 2.20GHz, apparently single-core. Can I confirm this then?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Le samedi 06 décembre 2008 à 04:45:09, Charlie Kravetz a écrit :
> Thank you. I have an AMD Athlon 64 3500+ 2.20GHz, apparently single-
> core. Can I confirm this then?
>

Then this issue matches this entry (changelog from the 0.4.1 version):
  * Fix cast which makes the CPU usage per process worky for multi-cores

So this is already fixed upstream and uploaded in jaunty
(0.4.1-0ubuntu1).

To get the fix in intrepid, someone will have to do a SRU or file a
backport request.

Thanks for your help!

 status fixreleased

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Changed in xfce4-taskmanager:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.