uptime.rb

Path: lib/facter/uptime.rb
Last Update: Wed Aug 09 15:28:25 +0000 2017

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]