Last Modified
2015-08-25 09:56:02 -0400
Requires
  • facter/util/uptime

Description

Fact: system_uptime

Purpose:

Return the system uptime in a hash in the forms of
seconds, hours, days and a general, human
readable uptime.

This fact is structured. These values are returned as a group of key-value pairs.

Resolution:

Does basic math on the get_uptime_seconds utility
to calculate seconds, hours and days.

Caveats: