Bug 143348 - Show process with highest CPU usage in tooltip
Summary: Show process with highest CPU usage in tooltip
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 17:21 UTC by Holger
Modified: 2008-12-08 12:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger 2007-03-22 17:21:51 UTC
Version:           1.2.0 (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

Situation: My fan goes off cause the CPU load shoots up to 100%
Reaction: First look at KSysGuard-Applet in the controlbar
Frustration: It does not show me the culprit

I'd love to have a fast and obvious place showing me, which process eats up all CPU!

It just takes too long to open up the processtable, deactivate the treeview, sort for CPU-Usage, pic the process, activate the treeview again, sort alphabetically and scroll to monitor it.

Most obvious would be the small graph integrated in Kicker or the tooltip for it. I emphasize: It must be fast. This is not the usual whining about my computer being so slow. In presence of an outrageous process, it just takes to long to open up any but the simplest dialogs. Thats not the time for graphic eye candy.

Possiple implementation:
a) A new sensor, that can be added to the view, displaying a single line of text with the most active process
b) An empty sensor, that only affects the tooltip in combination with Bug 59052, so that the name of the fake-sensor in the tooltip is the process.
c) A ballon popup
d) A new entry in the right-click menue, that shows the process.
e) A global keyboard shortcut, maybe attach to Ctrl+Alt+Delete session management.

There are more advanced features related to this:
1. Offer a way to send a signal to that process (would be easiest through the right-click menu)
2. Keep a history attached to the CPU-consumption-diagram, so that peeks of the past can be analyzed and related to now sleeping or finished programs. This could be done with a tooltip sensitive to the mouse x-Position or if the displaying line tracks the mouse.
3. Save not only the process, but the full path in the tree like "ZMD : update-status"
Comment 1 John Tapsell 2007-10-29 16:36:19 UTC
Hi,
  This is mostly implemented now.

  In KDE4, pressing ctrl+esc shows the process table pretty much instantly.  The process using all the cpu is shown at the top.

  However it would indeed be useful to show the process that is using all the cpu in the tooltip.

Comment 2 Greg Martyn 2007-10-29 18:38:44 UTC
Don't we first sort by username, then cpu usage?
Comment 3 John Tapsell 2008-12-08 12:54:32 UTC
(In reply to comment #2)
> Don't we first sort by username, then cpu usage?

Yes, but if you sort by CPU usage, it remembers that change.

Closing this now since it's 'fixed' in ksysguard 4 and we don't have a kicker applet in kde4.