Class: IControl::ARX::ProcessorStats

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

Overview

A structure that contains processor statistics.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu1minNumeric

The processor’s load level for the last 1 minute.

Returns:

  • (Numeric)

    the current value of cpu1min



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def cpu1min
  @cpu1min
end

#cpu5minNumeric

The processor’s load level for the last 5 minutes.

Returns:

  • (Numeric)

    the current value of cpu5min



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def cpu5min
  @cpu5min
end

#freememNumeric

The processor’s free memory.

Returns:

  • (Numeric)

    the current value of freemem



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def freemem
  @freemem
end

#module_typeString

The processor’s module type (e.g. ACM, ACM/NSM, ACM/NSM/ASM).

Returns:

  • (String)

    the current value of module_type



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def module_type
  @module_type
end

#processorString

The processor’s identifier.

Returns:

  • (String)

    the current value of processor



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def processor
  @processor
end

#statusIControl::ARX::ARXStatusType

The processor’s status.

Returns:



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def status
  @status
end

#totalmemNumeric

The processor’s total memory.

Returns:

  • (Numeric)

    the current value of totalmem



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def totalmem
  @totalmem
end

#uptimeNumeric

The number of seconds since the last reboot.

Returns:

  • (Numeric)

    the current value of uptime



292
293
294
# File 'lib/icontrol/arx.rb', line 292

def uptime
  @uptime
end