org.libvirt
public class NodeInfo extends Object
| Field Summary | |
|---|---|
| int | cores
number of core per socket |
| int | cpus
the number of active CPUs |
| long | memory
memory size in kilobytes |
| int | mhz
expected CPU frequency |
| String | model
string indicating the CPU model |
| int | nodes
the number of NUMA cell, 1 for uniform |
| int | sockets
number of CPU socket per node |
| int | threads
number of threads per core |
| Constructor Summary | |
|---|---|
| NodeInfo() | |
| NodeInfo(virNodeInfo vInfo) | |
| Method Summary | |
|---|---|
| int | maxCpus() |
Returns: the total number of CPUs supported but not necessarily active in the host.