Method: LinuxStat::OS.uptime_i
- Defined in:
- lib/linux_stat/os.rb
.uptime_i ⇒ Object
Returns uptime of the system reported by LinuxStat::Sysinfo.uptime()
LinuxStat::OS.uptime_i
=> 28956
If the stat isn’t available, nil is returned.
185 186 187 |
# File 'lib/linux_stat/os.rb', line 185 def uptime_i LinuxStat::Sysinfo.uptime end |