Class: Pangea::HostCpu
Overview
A Physical CPU
xen-api: Class host_cpu
Instance Method Summary collapse
-
#initialize(link, ref) ⇒ HostCpu
constructor
:nodoc:.
-
#model_name ⇒ Object
xen-api: host_cpu.get_modelname.
-
#number ⇒ Object
xen-api: host_cpu.get_number.
-
#speed ⇒ Object
xen-api: host_cpu.get_speed.
-
#utilisation ⇒ Object
xen-api: host_cpu.get_utilisation.
-
#vendor ⇒ Object
xen-api: host_cpu.get_vendor.
Methods inherited from XObject
Constructor Details
#initialize(link, ref) ⇒ HostCpu
:nodoc:
267 268 269 270 |
# File 'lib/pangea/objects.rb', line 267 def initialize(link, ref) #:nodoc: super(link, ref) @proxy_name = 'host_cpu' end |
Instance Method Details
#model_name ⇒ Object
xen-api: host_cpu.get_modelname
CPU Model
300 301 302 |
# File 'lib/pangea/objects.rb', line 300 def model_name ref_call :get_modelname end |
#number ⇒ Object
xen-api: host_cpu.get_number
275 276 277 |
# File 'lib/pangea/objects.rb', line 275 def number ref_call :get_number end |
#speed ⇒ Object
xen-api: host_cpu.get_speed
CPU Speed in MHz
291 292 293 |
# File 'lib/pangea/objects.rb', line 291 def speed ref_call :get_speed end |
#utilisation ⇒ Object
xen-api: host_cpu.get_utilisation
CPU Utilisation
309 310 311 |
# File 'lib/pangea/objects.rb', line 309 def utilisation ref_call :get_utilisation end |
#vendor ⇒ Object
xen-api: host_cpu.get_vendor
282 283 284 |
# File 'lib/pangea/objects.rb', line 282 def vendor ref_call :get_vendor end |