Class: Virtuozzo::SOAP::Types::Filer::Sys_infoType

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

Overview

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

load_avg - Virtuozzo::SOAP::Types::Filer::Load_avgType
processes - Virtuozzo::SOAP::Types::Filer::ProcessesType
cpu_load - Virtuozzo::SOAP::Types::Filer::Cpu_loadType
cpu_states - Virtuozzo::SOAP::Types::Filer::Cpu_loadType
users - SOAP::SOAPInt
uptime - SOAP::SOAPLong
memory - Virtuozzo::SOAP::Types::Filer::Sys_infoType::Memory
swap - Virtuozzo::SOAP::Types::Filer::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.



703
704
705
706
707
708
709
710
711
712
# File 'lib/virtuozzo/soap/types/filer.rb', line 703

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.



696
697
698
# File 'lib/virtuozzo/soap/types/filer.rb', line 696

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



697
698
699
# File 'lib/virtuozzo/soap/types/filer.rb', line 697

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



694
695
696
# File 'lib/virtuozzo/soap/types/filer.rb', line 694

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



700
701
702
# File 'lib/virtuozzo/soap/types/filer.rb', line 700

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



695
696
697
# File 'lib/virtuozzo/soap/types/filer.rb', line 695

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



701
702
703
# File 'lib/virtuozzo/soap/types/filer.rb', line 701

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



699
700
701
# File 'lib/virtuozzo/soap/types/filer.rb', line 699

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



698
699
700
# File 'lib/virtuozzo/soap/types/filer.rb', line 698

def users
  @users
end