Class: IControl::System::CPUUsageExtended

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/system.rb,
lib/icontrol/system.rb

Overview

A struct that contains extended CPU usage, per CPU, for a host. The extended CPU usage goes beyond the basic material available in CPUUsage. This structure represents the extended CPU usage as a sequence of sequences of statistics. For a host, there is a sequence of statistics per CPU, and the statistics for a CPU are a sequence.

Instance Attribute Summary collapse

Instance Attribute Details

#host_idString

The host id.

Returns:

  • (String)

    the current value of host_id


117
118
119
# File 'lib/icontrol/system.rb', line 117

def host_id
  @host_id
end

#statisticsIControl::Common::StatisticSequenceSequence

The statistics for the host (one sequence for each CPU).

Returns:


117
118
119
# File 'lib/icontrol/system.rb', line 117

def statistics
  @statistics
end