class SensuPluginsZFS::ZFS

Public Class Methods

zpools() click to toggle source
# File lib/sensu-plugins-zfs/zpool.rb, line 7
def self.zpools
  `sudo zpool list -H -o name`.lines.map do |l|
    ZPool.new(l.strip)
  end
end