uptime_seconds.rb

Path: lib/facter/uptime_seconds.rb
Last Update: Mon May 20 13:25:11 +0000 2013

Fact: uptime_seconds

Purpose: Return purely number of seconds of uptime.

Resolution:

  Using the 'facter/util/uptime.rb' module, try a verity of methods to acquire
  the uptime on Unix.

  On Windows, the module calculates the uptime by the "LastBootupTime" Windows
  management value.

Caveats:

Required files

facter/util/uptime  

[Validate]