?
Current Path : /usr/share/ruby/vendor_ruby/facter/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/ruby/vendor_ruby/facter/uptime_hours.rb |
# Fact: uptime_hours # # Purpose: Return just the number of hours of uptime. # # Resolution: Uses the "hours" key of the system_uptime fact, which divides # its own 'seconds' key by 3600. # # Caveats: # Facter.add(:uptime_hours) do setcode { Facter.value(:system_uptime)['hours'] } end