org.libvirt

Class NodeInfo

public class NodeInfo extends Object

Field Summary
intcores
number of core per socket
intcpus
the number of active CPUs
longmemory
memory size in kilobytes
intmhz
expected CPU frequency
Stringmodel
string indicating the CPU model
intnodes
the number of NUMA cell, 1 for uniform
intsockets
number of CPU socket per node
intthreads
number of threads per core
Method Summary
intmaxCpus()

Field Detail

cores

public int cores
number of core per socket

cpus

public int cpus
the number of active CPUs

memory

public long memory
memory size in kilobytes

mhz

public int mhz
expected CPU frequency

model

public String model
string indicating the CPU model

nodes

public int nodes
the number of NUMA cell, 1 for uniform

sockets

public int sockets
number of CPU socket per node

threads

public int threads
number of threads per core

Method Detail

maxCpus

public int maxCpus()

Returns: the total number of CPUs supported but not neccessarily active in the host.