Coremoid – Simple CPU Usage Plasmoid For KDE4

Update: There is a nice replacement for coremoid plasmoid in KDE 4.3.x. It shows kernel and user space usage in different colors, shows swap usage, etc. I find it more useful than coremoid. You may want to try it instead of coremoid plasmoid.

I’ve been using Coremoid plasmoid since KDE 4 was available only in SVN and it provides everything I want. The plasmoid sits in the tray and displays processor usage on all cores (in case your processor has more than one core) plus the processor governor and frequency. It is useful to see whether your computer is doing something CPU intensive that you didn’t want it to do (for example there is a program hanging in memory and consuming your CPU).

The look & feel of Coremoid plasmoid

The look & feel of Coremoid plasmoid

It hasn’t been actively supported since last year and the sources from kde-look.org don’t compile with latest KDE 4.2.x stable. I have made few adjustments to the code to make it compile and decided to share it with you :)

Download coremoid-0.3.1-andrew.tar.bz2

Share and Enjoy:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Furl
  • Reddit
  • Technorati
  • Ma.gnolia
  • Add to favorites
  • MySpace
  • Slashdot
  • Twitter

Comments 11

  1. Andy wrote:

    Hey Andrew,

    thx for ou work. I tried to compile your changed source but i got the following error:

    (…)
    CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o:(.data.rel.ro._ZTV14CoreMoidApplet[vtable for CoreMoidApplet]+0×1bc): undefined reference to `non-virtual thunk to Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const’
    CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o:(.data.rel.ro._ZTI14CoreMoidApplet[typeinfo for CoreMoidApplet]+0×8): undefined reference to `typeinfo for Plasma::Applet’
    collect2: ld gab 1 als Ende-Status zurück
    make[2]: *** [lib/plasma_applet_coremoid.so] Fehler 1
    make[1]: *** [CMakeFiles/plasma_applet_coremoid.dir/all] Fehler 2
    make: *** [all] Fehler 2

    Maybe you know whats the problem.

    thx for your time

    Andy

    Posted Monday April 20th, 2009 at 01:56 PM
  2. Andy wrote:

    btw. I’m using archlinx / kdemod / kde 4.2.2

    Posted Monday April 20th, 2009 at 01:58 PM
  3. Gustavo wrote:

    Gratz for the nice work Andrew,
    I’m quite new to KDE4 (resisted it for a while!), but have started to use it last week. I use Slackware 12.2 (-current) and managed to install this coremoid. This may seem a noobish question, but how do I start Coremoid after installing it? Thanks in advance!

    Posted Tuesday April 21st, 2009 at 08:34 PM
  4. Andrew wrote:

    I suppose you use the sources I put on my website vs. sources from kde-look.org? The last change I made was in CMakeLists.txt to replace PLASMA_LIBS with KDE4_PLASMA_LIBS in line 31 (target_link_libraries) as I was getting a similar linkage problem.
    I can successfully install the plasmoid using the sources I put on the website. I use KDE 4.2.2 too (I’m on Gentoo amd64 unstable)
    In your case cmake definitely can’t find plasma libs which can be caused by some glitches in cmake configuration, KDE configuration or both.

    Posted Tuesday April 21st, 2009 at 08:38 PM
  5. Andy wrote:

    Hey Andrew,

    thx for answering. I tried the source form kde-look and it works. :)

    Posted Tuesday April 21st, 2009 at 09:40 PM
  6. Andrew wrote:

    I’m very glad you’ve overcame your resitance! KDE4 is really great, especially taking into consideration it is free software.
    Once you installed this plasmoid click on the leftmost icon (the half circle) on the task bar and select Add Widgets. Then look for Coremoid in the window that opens and click on the Add Widget button.

    Posted Wednesday April 22nd, 2009 at 06:29 PM
  7. break19 wrote:

    Using kernel’s higher than 2.6.30 makes coremoid think my Athlon 64×2 6000+ have 4 total cores. If I revert to the x.x.30 kernel, it (correctly) shows me with two cores..

    Something changed in the way multi-core is handled in the newer kernels, methinks, so you may want to check it out yourself.

    Posted Thursday October 1st, 2009 at 02:35 PM
  8. Andrew wrote:

    There is a nice replacement for coremoid plasmoid in KDE 4.3.x and it is installed by default. It shows kernel and user space usage in different colors, shows swap used, etc. I find it more useful than coremoid. You may want to try it out.

    Posted Thursday October 1st, 2009 at 04:52 PM
  9. Josef wrote:

    Hi, could you tell the name of the mentioned replacement for coremoid in KDE 4.3.x?

    Posted Friday October 30th, 2009 at 08:48 AM
  10. Andrew wrote:

    I can’t look up the exact name now (I’m on Vista now) but it is either “small cpu/memory widget” or “tiny cpu/memory widget”. Something like that. Check out your Add Widgets dialog box.

    Posted Friday November 6th, 2009 at 01:29 PM
  11. George wrote:

    Hi,

    I cannot see the “governer” text at the bottom in an up to date Fedora 12 (no matter what theme I use).
    Also in a four core I see 5 columns/rows, is the last one total CPU.

    Great plasmoid.

    Thanks,

    Posted Wednesday December 2nd, 2009 at 05:49 AM

Post a Comment

Your email is never published nor shared. Required fields are marked *