Class: IControl::System::CPUUsage

Inherits:
Base::Struct
  • Object
show all
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)

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 ....

Returns:

  • (Numeric)

    the current value of cpu_id



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



99
100
101
# File 'lib/icontrol/system.rb', line 99

def user
  @user
end