Public Member Functions | Private Attributes | List of all members
hd_monitor.hd_monitor Class Reference

Public Member Functions

def __init__ (self, hostname, diag_hostname, home_dir='')
 
def cancel_timers (self)
 Must have the lock to cancel everything. More...
 
def check_disk_usage (self)
 
def check_temps (self)
 
def publish_stats (self)
 

Private Attributes

 _diag_pub
 
 _home_dir
 
 _hostname
 
 _last_publish_time
 
 _last_temp_time
 
 _last_usage_time
 
 _mutex
 
 _no_temp_warn
 
 _temp_stat
 
 _temp_timer
 
 _usage_stat
 
 _usage_timer
 

Detailed Description

Definition at line 140 of file hd_monitor.py.

Constructor & Destructor Documentation

def hd_monitor.hd_monitor.__init__ (   self,
  hostname,
  diag_hostname,
  home_dir = '' 
)

Definition at line 141 of file hd_monitor.py.

Member Function Documentation

def hd_monitor.hd_monitor.cancel_timers (   self)

Must have the lock to cancel everything.

Definition at line 179 of file hd_monitor.py.

def hd_monitor.hd_monitor.check_disk_usage (   self)

Definition at line 246 of file hd_monitor.py.

def hd_monitor.hd_monitor.check_temps (   self)

Definition at line 188 of file hd_monitor.py.

def hd_monitor.hd_monitor.publish_stats (   self)

Definition at line 329 of file hd_monitor.py.

Member Data Documentation

hd_monitor.hd_monitor._diag_pub
private

Definition at line 150 of file hd_monitor.py.

hd_monitor.hd_monitor._home_dir
private

Definition at line 148 of file hd_monitor.py.

hd_monitor.hd_monitor._hostname
private

Definition at line 144 of file hd_monitor.py.

hd_monitor.hd_monitor._last_publish_time
private

Definition at line 154 of file hd_monitor.py.

hd_monitor.hd_monitor._last_temp_time
private

Definition at line 152 of file hd_monitor.py.

hd_monitor.hd_monitor._last_usage_time
private

Definition at line 153 of file hd_monitor.py.

hd_monitor.hd_monitor._mutex
private

Definition at line 142 of file hd_monitor.py.

hd_monitor.hd_monitor._no_temp_warn
private

Definition at line 145 of file hd_monitor.py.

hd_monitor.hd_monitor._temp_stat
private

Definition at line 159 of file hd_monitor.py.

hd_monitor.hd_monitor._temp_timer
private

Definition at line 156 of file hd_monitor.py.

hd_monitor.hd_monitor._usage_stat
private

Definition at line 168 of file hd_monitor.py.

hd_monitor.hd_monitor._usage_timer
private

Definition at line 157 of file hd_monitor.py.


The documentation for this class was generated from the following file:


pr2_computer_monitor
Author(s): Kevin Watts (watts@willowgarage.com)
autogenerated on Tue Jun 1 2021 02:50:51