Classes | Namespaces | Functions | Variables File Reference

Go to the source code of this file.


class  cpu_monitor.CPUMonitor




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)


 cpu_monitor.cpu_node = CPUMonitor(hostname, options.diag_hostname)
bool cpu_monitor.has_error_core_count = False
bool cpu_monitor.has_warned_mpstat = False
 cpu_monitor.hostname = socket.gethostname()
 cpu_monitor.parser = optparse.OptionParser(usage="usage: [--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...

Author(s): Kevin Watts (
autogenerated on Tue Jun 1 2021 02:50:51