Package org.libvirt
Class NodeInfo
- java.lang.Object
-
- org.libvirt.NodeInfo
-
public class NodeInfo extends java.lang.Object
Node data from libvirt.
-
-
Field Summary
Fields Modifier and Type Field Description int
cores
number of core per socketint
cpus
the number of active CPUslong
memory
memory size in kilobytesint
mhz
expected CPU frequencyjava.lang.String
model
string indicating the CPU modelint
nodes
the number of NUMA cell, 1 for uniformint
sockets
number of CPU socket per nodeint
threads
number of threads per core
-
Constructor Summary
Constructors Constructor Description NodeInfo()
NodeInfo(virNodeInfo vInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
maxCpus()
java.lang.String
toString()
-
-
-
Field Detail
-
model
public java.lang.String model
string indicating the CPU model
-
memory
public long memory
memory size in kilobytes
-
cpus
public int cpus
the number of active CPUs
-
mhz
public int mhz
expected CPU frequency
-
nodes
public int nodes
the number of NUMA cell, 1 for uniform
-
sockets
public int sockets
number of CPU socket per node
-
cores
public int cores
number of core per socket
-
threads
public int threads
number of threads per core
-
-
Constructor Detail
-
NodeInfo
public NodeInfo()
-
NodeInfo
public NodeInfo(virNodeInfo vInfo)
-
-