System Monitor

Dominik Haumann dhdev at gmx.de
Wed Dec 10 12:20:10 CET 2008


Hi,

some months ago I blogged about KDE3's system monitor applet ported
to plasma [1]. It provides a data engine and an applet. The data
engine is more or less just the code taken from KDE3, i.e. it supports
more than just e.g. /proc/cpuinfo depending on the OS. So I'd expect
it to work in KDE4 just as good.

Now there are two other projects:
1. There already is a system monitor data engine in plasma, which is
   even included in KDE4.2 iirc.
2. http://kde-look.org/content/show.php?content=74891
   Seems to be a rewrite from scratch, also based on e.g. /proc/cpuinfo
   etc.

I'd like to finally see this simple applet be in playground to make it
into KDE 4.3.

The right way seems to be to use the system monitor data engine already
available in plasma, and then write the applet on top of it. So it would
be nice to combine the efforts.

The systemmonitor applet seems to provide everything we need:
Processors
- system/processors -> processor count
- system/cores (not yet clear how that relates to processors ;))
- cpu/system/TotalLoad
- cpu/system/user
- cpu/system/nice
- cpu/system/wait
- cpu/cpu{%n}/*  (for every cpu if processor count > 1)

Memory
- mem/physical/free
- mem/physical/used
- mem/physical/cached
- mem/physical/buf
- mem/physical/application

Swap
- mem/swap/used
- mem/swap/free

So does it make sense to remove the data engines of [1] and [2] and try to
implement the applet by just using the above?

Thanks,
Dominik
PS: I don't want an applet that has a time-axis, ie I like the applet
    for its simplicity. So no meters or too complex stuff. Just this
    little tool, not more :)

[1] http://dhaumann.blogspot.com/2008/05/i-miss-applet-which-shows-system-usage.html 
[2] http://kde-look.org/content/show.php?content=74891


More information about the Plasma-devel mailing list