Package pymeterlib :: Package plugins :: Package solaris :: Module Uptime :: Class Uptime
[show private | hide private]
[frames | no frames]

Class Uptime


System Uptime (number of days the system has been up) from uptime output.

If the system has been up less than a day, a value of '0' is reported.
Method Summary
  __init__(self)
  format_output(self, output)
Parse System Uptime (number of days the system has been up) from uptime output.

Class Variable Summary
str label = 'System Uptime'

Method Details

format_output(self, output)

Parse System Uptime (number of days the system has been up) from uptime output.
Parameters:
output - Command response output string
Returns:
String

Class Variable Details

label

Type:
str
Value:
'System Uptime'                                                        

Generated by Epydoc 2.1 on Fri Mar 17 09:16:19 2006 http://epydoc.sf.net