Class: Virtuozzo::SOAP::Types::Scheduler::Sys_infoType

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

Overview

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

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



745
746
747
748
749
750
751
752
753
754
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 745

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.



738
739
740
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 738

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



739
740
741
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 739

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



736
737
738
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 736

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



742
743
744
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 742

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



737
738
739
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 737

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



743
744
745
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 743

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



741
742
743
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 741

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



740
741
742
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 740

def users
  @users
end