[SOLVED] ksysguard (system monitor) support multiple sensors

Posted:
Jun 16th, '12, 01:52
by bscalise
In ksysguard previously I've been able to create custom System Monitoring graphs for items like temperature (motherboard & CPU), fans (rotation speed of case fans, cpu fans, etc.) and voltages (DC voltage provided to CPU, +5, +12, etc.) by first dragging one sensor for a particular item onto a blank, newly created tab, and then dragging other sensors of the same type onto the same graph.
In this version of ksysguard, dragging multiple sensors onto a graph doesn't work, necessitating a seperate graph be created for each sensor. Thus what I had accomplished previously, having a single "Hardware" tab with a "Temperature" graph containing CPU & MB temperature, a "Fan Speed" graph containing graphs for the rotational speed of the CPU fan, two case fans, and the power supply fan, and a "Voltage" graph containing DC voltage levels for core CPU, +3.3v, +5v, and +12 (three graphs total on one tab), now takes 10 graphs.
Does anybody have any information about this? Does ksysguard have a software regression, a bug, or is there something I'm missing?
Re: ksysguard (system monitor) support for multiple sensors

Posted:
Jun 16th, '12, 03:24
by yankee495
Make a new tab then select tab properties. From there you can select how many rows/columns to display on that one tab.
Default is 3 I think.
Re: ksysguard (system monitor) support for multiple sensors

Posted:
Jun 16th, '12, 03:57
by yankee495
OK, I see what you mean. The system load shows CPU 1 & 2 on the same graph.
Network shows sent & received all on one graph.
How to create a graph that contains two sensors? That is the question.
Re: ksysguard (system monitor) support for multiple sensors

Posted:
Jun 17th, '12, 12:05
by bscalise
This worked fine in other distributions. I assume it is more a failure with a newer ksysguard than a problem with the distribution itself, although I don't actually know.
Re: ksysguard (system monitor) support for multiple sensors

Posted:
Jun 17th, '12, 20:36
by dbg
There was a patch to fix this on June 6...see:
https://bugs.kde.org/show_bug.cgi?id=290504Hopefully, we will be getting an update. In the mean time, if you really want multiple sensors you can edit the tab file. Create a tab with 3 displays, add a sensor to each. In the "file" menu chose "Save tab as...". This will save the xml file (.sgrd) that defines the tab. You can edit it with Kwrite. The xlm calls the sensors "beams". Cut and paste your "beams" so they are between one <display></display> and delete the extra displays. Resave and import tab back into Sysguard. Here is an example:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KSysGuardWorkSheet>
<WorkSheet title="cpu" interval="0.5" locked="0" rows="3" columns="1">
<host port="-1" command="ksysguardd" shell="" name="localhost"/>
<display title="Total" version="1" row="0" class="FancyPlotter" hScale="6" unit="" showUnit="0" column="0" autoRange="1" hLines="1" manualRange="0" vScroll="0" svgBackground="" vLines="0" vDistance="30" stacked="0" labels="1">
<beam sensorName="cpu/cpu0/TotalLoad" sensorType="float" hostName="localhost" color="0xff0057ae"/>
<beam sensorName="cpu/cpu1/TotalLoad" sensorType="float" hostName="localhost" color="0xff0057ae"/>
<beam sensorName="cpu/cpu2/TotalLoad" sensorType="float" hostName="localhost" color="0xff0057ae"/>
</display>
</WorkSheet>
You can then change the color of the sensors within Sysguard.
Re: ksysguard (system monitor) support for multiple sensors

Posted:
Jun 19th, '12, 23:59
by doktor5000