← Back to team overview

screenlets-dev team mailing list archive

[Bug 694857] [NEW] [Sensors] sensors flaws

 

You have been subscribed to a public bug:

Screenlets version 0.1.3.

sensors.cpu_get_load(0) print '150' (%)

i've a dualcore cpu, but if both two core use the 75%, would be more appropriate to divide the value by 2.
				
sensors.mem_get_usedmem() print '8' (?!?)

real usage is 817mb, inside the sensors.py the value is divided by 1024,
why?!? would be better have a value in bytes and then multiplied
according to screenlet needs, same thing for swap value.

print sensors.sensors_get_sensor_value('hddtemp sensor /dev/sda') print
'/dev/sda: 39 C'

here too if could have the value only instead to reformat the string
from the screenlet code.

thanks for your attention, good works.

** Affects: screenlets
     Importance: High
         Status: Confirmed


** Tags: sensors
-- 
[Sensors] sensors flaws
https://bugs.launchpad.net/bugs/694857
You received this bug notification because you are a member of Screenlets Dev Team, which is subscribed to Screenlets.



References