chutinhha / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Using wmi /root/OpenHardwareMonitor Sensor on ubuntu reports wrong values for Min, Max and Value #423

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? 
On windows wmi query
Identifier=/ram/load/0
Index=0
InstanceId=3853
Max=75.28931
Min=49.10797
Name=Memory
Parent=/ram
ProcessId=90b18837-a5a9-4d0e-a7ea-de57a75224dc
SensorType=Load
Value=73.37298

Identifier=/intelcpu/0/temperature/0
Index=0
InstanceId=3843
Max=100
Min=48
Name=CPU Core #1
Parent=/intelcpu/0
ProcessId=90b18837-a5a9-4d0e-a7ea-de57a75224dc
SensorType=Temperature
Value=84

What do you see instead?
On ubuntu wmi query (for the same pc as above):
Identifier=/ram/load/0, Index=0, InstanceId=3853, Max=1117164576.000000, 
Name=Memory, Parent=/ram, ProcessId=90b18837-a5a9-4d0e-a7ea-de57a75224dc, 
SensorType=Load, Value=1116810992.000000
Identifier=/intelcpu/0/temperature/0, Index=0, InstanceId=3843, 
Max=1120403456.000000, Name=CPU Core #1, Parent=/intelcpu/0, 
ProcessId=90b18837-a5a9-4d0e-a7ea-de57a75224dc, SensorType=Temperature, 
Value=1118830592.000000

What version of the product are you using? On what operating system?
0.5.1 Beta on windows 7 64 bit

Please provide any additional information below.
Do you maybe know the reason for this behavior or why the temperature cannot be 
read under linux?

Thanks,

Duda

Please attach a Report created with "File / Save Report...".

Original issue reported on code.google.com by ggduda on 18 Dec 2012 at 2:13

Attachments:

GoogleCodeExporter commented 8 years ago
Report:

Duda

Original comment by ggduda on 19 Dec 2012 at 9:03

Attachments:

GoogleCodeExporter commented 8 years ago
Can confirm that I get this same issue with Ubuntu 14.04.2 when using the wmic 
packages from orvant.com. Unfortunately my knowledge of the package is minimal, 
but if there is a method that can explain the strange values returned via WMI 
from remote Unix hosts that would be great.

Querying a sensor that I know has a value of 38 returns 1108869120.000000

$ wmic --delimiter=: --namespace=ROOT\\OpenHardwareMonitor //x.x.x.x "SELECT 
Value FROM Sensor WHERE InstanceId='3932' AND 
ProcessId='846ea5d7-760e-4c24-b139-e99b699630be'"

CLASS: Sensor
InstanceId:ProcessId:Value
3932:846ea5d7-760e-4c24-b139-e99b699630be:1108869120.000000

Original comment by Clonta...@gmail.com on 26 Feb 2015 at 8:29