Classes | Namespaces | Functions | Variables
cpu_monitor.py File Reference

Go to the source code of this file.

Classes

class  cpu_monitor.CPUMonitor
 

Namespaces

 cpu_monitor
 

Functions

def cpu_monitor.check_clock_speed (enforce_speed)
 Checks clock speed from reading from CPU info. More...
 
def cpu_monitor.check_core_temps (sys_temp_strings)
 Check CPU core temps. More...
 
def cpu_monitor.check_ipmi ()
 
def cpu_monitor.check_memory ()
 Uses 'free -m' to check free memory. More...
 
def cpu_monitor.check_mpstat (core_count=-1)
 
def cpu_monitor.check_uptime (load1_threshold, load5_threshold)
 Uses 'uptime' to see load average. More...
 
def cpu_monitor.get_core_temp_names ()
 Returns names for core temperature files Returns list of names, each name can be read like file. More...
 
def cpu_monitor.update_status_stale (stat, last_update_time)
 

Variables

 cpu_monitor._Thread__stop
 
 cpu_monitor.action
 
 cpu_monitor.args
 
 cpu_monitor.cpu_node = CPUMonitor(hostname, options.diag_hostname)
 
 cpu_monitor.default
 
 cpu_monitor.dest
 
 cpu_monitor.file
 
bool cpu_monitor.has_error_core_count = False
 
bool cpu_monitor.has_warned_mpstat = False
 
 cpu_monitor.help
 
 cpu_monitor.hostname = socket.gethostname()
 
 cpu_monitor.metavar
 
 cpu_monitor.options
 
 cpu_monitor.parser = optparse.OptionParser(usage="usage: cpu_monitor.py [--diag-hostname=cX]")
 
 cpu_monitor.rate = rospy.Rate(1.0)
 
dictionary cpu_monitor.stat_dict = { 0: 'OK', 1: 'Warning', 2: 'Error' }
 
int cpu_monitor.usage_old = 0
 Use mpstat to find CPU usage. More...
 


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