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

Class Uptime


Parse System Uptime from uptime output.
Method Summary
  __init__(self)
  format_output(self, output)
Parse System Uptime from uptime output and return it as a string.

Class Variable Summary
str label = 'System Uptime'

Method Details

format_output(self, output)

Parse System Uptime from uptime output and return it as a string.
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