module Vmstat::Solaris

Public Class Methods

included(base) click to toggle source
# File lib/vmstat/solaris.rb, line 66
def self.included base
  base.instance_eval do
    def cpu; Vmstat::Solaris.cpu end
    def boot_time; Vmstat::Solaris.boot_time end
    def memory; Vmstat::Solaris.memory end
    def network_interfaces; Vmstat::Solaris.network_interfaces end
  end
end

Public Instance Methods

boot_time() click to toggle source
# File lib/vmstat/solaris.rb, line 69
def boot_time; Vmstat::Solaris.boot_time end
cpu() click to toggle source
# File lib/vmstat/solaris.rb, line 68
def cpu; Vmstat::Solaris.cpu end
memory() click to toggle source
# File lib/vmstat/solaris.rb, line 70
def memory; Vmstat::Solaris.memory end
network_interfaces() click to toggle source
# File lib/vmstat/solaris.rb, line 71
def network_interfaces; Vmstat::Solaris.network_interfaces end