Class: IControl::System::CPUUsage
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::System::CPUUsage
- Defined in:
- lib/icontrol/system.rb,
lib/icontrol/system.rb
Overview
This structure has been deprecated; use CPUUsageExtendedInformation and related structures instead. A struct that contains the CPU usage for each CPU.
Instance Attribute Summary (collapse)
-
- (Numeric) cpu_id
The numeric ID of the processor, i.e.
-
- (IControl::Common::ULong64) idle
The time spent by the processor doing nothing.
-
- (IControl::Common::ULong64) iowait
The time spent by the processor waiting for external I/O to complete.
-
- (IControl::Common::ULong64) irq
The time spent by the processor servicing hardware interrupts.
-
- (IControl::Common::ULong64) niced
The time spent by the processor running niced processes.
-
- (IControl::Common::ULong64) softirq
The time spent by the processor servicing soft interrupts.
-
- (IControl::Common::ULong64) system
The time spent by the processor servicing system calls.
-
- (IControl::Common::ULong64) user
The time spent by the processor in user context.
Method Summary
Methods inherited from Base::Struct
from_soap, icontrol_attribute, #to_soap
Instance Attribute Details
- (Numeric) cpu_id
The numeric ID of the processor, i.e. 1, 2, 3, 4 ....
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def cpu_id @cpu_id end |
- (IControl::Common::ULong64) idle
The time spent by the processor doing nothing.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def idle @idle end |
- (IControl::Common::ULong64) iowait
The time spent by the processor waiting for external I/O to complete.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def iowait @iowait end |
- (IControl::Common::ULong64) irq
The time spent by the processor servicing hardware interrupts.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def irq @irq end |
- (IControl::Common::ULong64) niced
The time spent by the processor running niced processes.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def niced @niced end |
- (IControl::Common::ULong64) softirq
The time spent by the processor servicing soft interrupts.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def softirq @softirq end |
- (IControl::Common::ULong64) system
The time spent by the processor servicing system calls.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def system @system end |
- (IControl::Common::ULong64) user
The time spent by the processor in user context.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def user @user end |