Classes | |
class | CPUMonitor |
Variables | |
string | action = "store" |
tuple | cpu_node = CPUMonitor(hostname, options.diag_hostname) |
string | help = "Computer name in diagnostics output (ex: 'c1')" |
tuple | hostname = socket.gethostname() |
string | metavar = "DIAG_HOSTNAME" |
tuple | parser = optparse.OptionParser(usage="usage: cpu_monitor.py [--diag-hostname=cX]") |
dictionary | stat_dict = { DiagnosticStatus.OK: 'OK', DiagnosticStatus.WARN: 'Warning', DiagnosticStatus.ERROR: 'Error', DiagnosticStatus.STALE: 'Stale' } |
string cpu_monitor::action = "store" |
Definition at line 794 of file cpu_monitor.py.
tuple cpu_monitor::cpu_node = CPUMonitor(hostname, options.diag_hostname) |
Definition at line 803 of file cpu_monitor.py.
string cpu_monitor::help = "Computer name in diagnostics output (ex: 'c1')" |
Definition at line 792 of file cpu_monitor.py.
tuple cpu_monitor::hostname = socket.gethostname() |
Definition at line 787 of file cpu_monitor.py.
string cpu_monitor::metavar = "DIAG_HOSTNAME" |
Definition at line 793 of file cpu_monitor.py.
tuple cpu_monitor::parser = optparse.OptionParser(usage="usage: cpu_monitor.py [--diag-hostname=cX]") |
Definition at line 790 of file cpu_monitor.py.
dictionary cpu_monitor::stat_dict = { DiagnosticStatus.OK: 'OK', DiagnosticStatus.WARN: 'Warning', DiagnosticStatus.ERROR: 'Error', DiagnosticStatus.STALE: 'Stale' } |
Definition at line 32 of file cpu_monitor.py.