Class: Virtuozzo::SOAP::Types::PerfMon::Sys_infoType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/perf_mon.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typessys_infoType

load_avg - Virtuozzo::SOAP::Types::PerfMon::Load_avgType
processes - Virtuozzo::SOAP::Types::PerfMon::ProcessesType
cpu_load - Virtuozzo::SOAP::Types::PerfMon::Cpu_loadType
cpu_states - Virtuozzo::SOAP::Types::PerfMon::Cpu_loadType
users - SOAP::SOAPInt
uptime - SOAP::SOAPLong
memory - Virtuozzo::SOAP::Types::PerfMon::Sys_infoType::Memory
swap - Virtuozzo::SOAP::Types::PerfMon::Sys_infoType::Swap

Defined Under Namespace

Classes: Memory, Swap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil) ⇒ Sys_infoType

Returns a new instance of Sys_infoType.



622
623
624
625
626
627
628
629
630
631
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 622

def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
  @load_avg = load_avg
  @processes = processes
  @cpu_load = cpu_load
  @cpu_states = cpu_states
  @users = users
  @uptime = uptime
  @memory = memory
  @swap = swap
end

Instance Attribute Details

#cpu_loadObject

Returns the value of attribute cpu_load.



615
616
617
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 615

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



616
617
618
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 616

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



613
614
615
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 613

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



619
620
621
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 619

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



614
615
616
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 614

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



620
621
622
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 620

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



618
619
620
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 618

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



617
618
619
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 617

def users
  @users
end