Sha256: caed509132e1a7437b4f80797d286bc2b267bda296ea9233a83c36b34756b0fa
Contents?: true
Size: 226 Bytes
Versions: 41
Compression:
Stored size: 226 Bytes
Contents
module Perus::Pinger class Uptime < Command description 'Runs the uptime command and returns the result' metric! def run {uptime: shell('uptime').strip} end end end
Version data entries
41 entries across 41 versions & 1 rubygems