Class: Virtuozzo::SOAP::Types::Processm::Sys_infoType

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

Overview

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

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



1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'lib/virtuozzo/soap/types/processm.rb', line 1230

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.



1223
1224
1225
# File 'lib/virtuozzo/soap/types/processm.rb', line 1223

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



1224
1225
1226
# File 'lib/virtuozzo/soap/types/processm.rb', line 1224

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



1221
1222
1223
# File 'lib/virtuozzo/soap/types/processm.rb', line 1221

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



1227
1228
1229
# File 'lib/virtuozzo/soap/types/processm.rb', line 1227

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



1222
1223
1224
# File 'lib/virtuozzo/soap/types/processm.rb', line 1222

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



1228
1229
1230
# File 'lib/virtuozzo/soap/types/processm.rb', line 1228

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



1226
1227
1228
# File 'lib/virtuozzo/soap/types/processm.rb', line 1226

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



1225
1226
1227
# File 'lib/virtuozzo/soap/types/processm.rb', line 1225

def users
  @users
end