Class: Virtuozzo::SOAP::Types::Relocator::Sys_infoType

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

Overview

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

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



1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1278

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.



1271
1272
1273
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1271

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



1272
1273
1274
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1272

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



1269
1270
1271
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1269

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



1275
1276
1277
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1275

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



1270
1271
1272
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1270

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



1276
1277
1278
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1276

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



1274
1275
1276
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1274

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



1273
1274
1275
# File 'lib/virtuozzo/soap/types/relocator.rb', line 1273

def users
  @users
end