uptime.rb

Path: lib/facter/uptime.rb
Last Update: Tue Mar 01 05:53:03 +0000 2016

Fact: uptime

Purpose: Return the system uptime in a human-readable format.

Resolution:

  Uses the structured system_uptime fact, which does basic math
  on the number of seconds of uptime to return a count of days
  and hours of uptime.

Caveats:

[Validate]