Classes | Functions | Variables
diagnostic_common_diagnostics.sensors_monitor Namespace Reference

Classes

class  Sensor
 
class  SensorsMonitor
 

Functions

def _rads_to_rpm (rads)
 
def _rpm_to_rads (rpm)
 
def get_sensors ()
 
def parse_sensor_line (line)
 
def parse_sensors_output (output)
 

Variables

 hostname = socket.gethostname()
 
 hostname_clean = string.translate(hostname, string.maketrans('-','_'))
 
 monitor = SensorsMonitor(hostname)
 

Function Documentation

◆ _rads_to_rpm()

def diagnostic_common_diagnostics.sensors_monitor._rads_to_rpm (   rads)
private

Definition at line 144 of file sensors_monitor.py.

◆ _rpm_to_rads()

def diagnostic_common_diagnostics.sensors_monitor._rpm_to_rads (   rpm)
private

Definition at line 147 of file sensors_monitor.py.

◆ get_sensors()

def diagnostic_common_diagnostics.sensors_monitor.get_sensors ( )

Definition at line 162 of file sensors_monitor.py.

◆ parse_sensor_line()

def diagnostic_common_diagnostics.sensors_monitor.parse_sensor_line (   line)

Definition at line 101 of file sensors_monitor.py.

◆ parse_sensors_output()

def diagnostic_common_diagnostics.sensors_monitor.parse_sensors_output (   output)

Definition at line 150 of file sensors_monitor.py.

Variable Documentation

◆ hostname

diagnostic_common_diagnostics.sensors_monitor.hostname = socket.gethostname()

Definition at line 215 of file sensors_monitor.py.

◆ hostname_clean

diagnostic_common_diagnostics.sensors_monitor.hostname_clean = string.translate(hostname, string.maketrans('-','_'))

Definition at line 216 of file sensors_monitor.py.

◆ monitor

diagnostic_common_diagnostics.sensors_monitor.monitor = SensorsMonitor(hostname)

Definition at line 223 of file sensors_monitor.py.



diagnostic_common_diagnostics
Author(s): Brice Rebsamen
autogenerated on Thu Aug 13 2020 16:38:03