Combiner for uptime information. It uses the results of the
parser and the
Facter parser to get the uptime information.
the preferred source of data.
>>> ut = shared[uptime] >>> ut.updays 21 >>> ht.uptime 03:45
Uptime(currtime, updays, uphhmm, users, loadavg, uptime)¶
namedtuple: Type for storing the uptime information.
Check uptime and facts to get the uptime information.
Prefer uptime to facts.
A named tuple with currtime, updays, uphhmm, users, loadavg and uptime components.
- Return type
Exception -- If no data is available from both of the parsers.