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
-
#cpu_id ⇒ Numeric
The numeric ID of the processor, i.e.
-
#idle ⇒ IControl::Common::ULong64
The time spent by the processor doing nothing.
-
#iowait ⇒ IControl::Common::ULong64
The time spent by the processor waiting for external I/O to complete.
-
#irq ⇒ IControl::Common::ULong64
The time spent by the processor servicing hardware interrupts.
-
#niced ⇒ IControl::Common::ULong64
The time spent by the processor running niced processes.
-
#softirq ⇒ IControl::Common::ULong64
The time spent by the processor servicing soft interrupts.
-
#system ⇒ IControl::Common::ULong64
The time spent by the processor servicing system calls.
-
#user ⇒ IControl::Common::ULong64
The time spent by the processor in user context.
Instance Attribute Details
#cpu_id ⇒ Numeric
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 |
#idle ⇒ IControl::Common::ULong64
The time spent by the processor doing nothing.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def idle @idle end |
#iowait ⇒ IControl::Common::ULong64
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 |
#irq ⇒ IControl::Common::ULong64
The time spent by the processor servicing hardware interrupts.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def irq @irq end |
#niced ⇒ IControl::Common::ULong64
The time spent by the processor running niced processes.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def niced @niced end |
#softirq ⇒ IControl::Common::ULong64
The time spent by the processor servicing soft interrupts.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def softirq @softirq end |
#system ⇒ IControl::Common::ULong64
The time spent by the processor servicing system calls.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def system @system end |
#user ⇒ IControl::Common::ULong64
The time spent by the processor in user context.
99 100 101 |
# File 'lib/icontrol/system.rb', line 99 def user @user end |