- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- FreeBsdSensors, LinuxSensors, MacSensors, SolarisSensors, WindowsSensors
public interface Sensors
extends Serializable
Sensors include hardwore sensors to monitor temperature, fan speed, and other
information. Drivers may or may not exist to collect this data depending on
Operating System and CPU. In addition, software-hardware communication may
suffer intermittent errors when attempting to access this information, so it
should be considered for information only. Users should test for zero values
and empty arrays which will result if the OS is unable to provide the
information.
Windows information is retrieved via Windows Management Instrumentation
(WMI). Unfortunately, most hardware providers do not publish values to WMI.
If a value is not available through the Microsoft API, Oshi will attempt to
retrieve values as published by the Open Hardware Monitor
(http://openhardwaremonitor.org/) if it is running.
- Author:
- widdis[at]gmail[dot]com