Public Member Functions | |
def | __init__ |
def | cancel_timers |
Must have the lock to cancel everything. | |
def | check_nfs_stat |
def | check_temps |
Call every 10sec at minimum. | |
def | check_usage |
def | publish_stats |
Private Member Functions | |
def | _restart_temp_check |
Private Attributes | |
_check_core_temps | |
_check_ipmi | |
_check_nfs | |
_diag_pub | |
_enforce_speed | |
_last_nfs_time | |
_last_publish_time | |
_last_temp_time | |
_last_usage_time | |
_load1_threshold | |
_load5_threshold | |
_mutex | |
_nfs_stat | |
_nfs_timer | |
_num_cores | |
_temp_stat | |
_temp_vals | |
_temps_timer | |
_usage_stat | |
_usage_timer |
Definition at line 514 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.__init__ | ( | self, | |
hostname, | |||
diag_hostname | |||
) |
Definition at line 515 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor._restart_temp_check | ( | self | ) | [private] |
Definition at line 579 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.cancel_timers | ( | self | ) |
Must have the lock to cancel everything.
Definition at line 592 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_nfs_stat | ( | self | ) |
Definition at line 602 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_temps | ( | self | ) |
Call every 10sec at minimum.
Definition at line 677 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_usage | ( | self | ) |
Definition at line 724 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.publish_stats | ( | self | ) |
Definition at line 775 of file cpu_monitor.py.
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_check_ipmi [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_check_nfs [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_diag_pub [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_enforce_speed [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_last_nfs_time [private] |
Definition at line 515 of file cpu_monitor.py.
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_last_temp_time [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_last_usage_time [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_load1_threshold [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_load5_threshold [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_mutex [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_nfs_stat [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_nfs_timer [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_num_cores [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_temp_stat [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_temp_vals [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_temps_timer [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_usage_stat [private] |
Definition at line 515 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_usage_timer [private] |
Definition at line 515 of file cpu_monitor.py.