Class: Virtuozzo::SOAP::Types::Computerm::Sys_infoType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Computerm::Sys_infoType
- Defined in:
- lib/virtuozzo/soap/types/computerm.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/typessys_infoType
load_avg - Virtuozzo::SOAP::Types::Computerm::Load_avgType
processes - Virtuozzo::SOAP::Types::Computerm::ProcessesType
cpu_load - Virtuozzo::SOAP::Types::Computerm::Cpu_loadType
cpu_states - Virtuozzo::SOAP::Types::Computerm::Cpu_loadType
users - SOAP::SOAPInt
uptime - SOAP::SOAPLong
memory - Virtuozzo::SOAP::Types::Computerm::Sys_infoType::Memory
swap - Virtuozzo::SOAP::Types::Computerm::Sys_infoType::Swap
Defined Under Namespace
Instance Attribute Summary collapse
-
#cpu_load ⇒ Object
Returns the value of attribute cpu_load.
-
#cpu_states ⇒ Object
Returns the value of attribute cpu_states.
-
#load_avg ⇒ Object
Returns the value of attribute load_avg.
-
#memory ⇒ Object
Returns the value of attribute memory.
-
#processes ⇒ Object
Returns the value of attribute processes.
-
#swap ⇒ Object
Returns the value of attribute swap.
-
#uptime ⇒ Object
Returns the value of attribute uptime.
-
#users ⇒ Object
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil) ⇒ Sys_infoType
constructor
A new instance of Sys_infoType.
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.
648 649 650 651 652 653 654 655 656 657 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 648 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_load ⇒ Object
Returns the value of attribute cpu_load.
641 642 643 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 641 def cpu_load @cpu_load end |
#cpu_states ⇒ Object
Returns the value of attribute cpu_states.
642 643 644 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 642 def cpu_states @cpu_states end |
#load_avg ⇒ Object
Returns the value of attribute load_avg.
639 640 641 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 639 def load_avg @load_avg end |
#memory ⇒ Object
Returns the value of attribute memory.
645 646 647 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 645 def memory @memory end |
#processes ⇒ Object
Returns the value of attribute processes.
640 641 642 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 640 def processes @processes end |
#swap ⇒ Object
Returns the value of attribute swap.
646 647 648 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 646 def swap @swap end |
#uptime ⇒ Object
Returns the value of attribute uptime.
644 645 646 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 644 def uptime @uptime end |
#users ⇒ Object
Returns the value of attribute users.
643 644 645 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 643 def users @users end |