uptime.rb

Path: lib/facter/uptime.rb
Last Update: Sat Feb 23 07:17:42 +0000 2019

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]