org.libvirt

Class DomainInfo

public class DomainInfo extends Object

This object is returned by Domain.getInfo()
Nested Class Summary
static classDomainInfo.DomainState
Field Summary
longcpuTime
the CPU time used in nanoseconds
longmaxMem
the maximum memory in KBytes allowed
longmemory
the memory in KBytes used by the domain
intnrVirtCpu
the number of virtual CPUs for the domain
DomainInfo.DomainStatestate
the running state, one of virDomainFlag
Method Summary
StringtoString()

Field Detail

cpuTime

public long cpuTime
the CPU time used in nanoseconds

maxMem

public long maxMem
the maximum memory in KBytes allowed

memory

public long memory
the memory in KBytes used by the domain

nrVirtCpu

public int nrVirtCpu
the number of virtual CPUs for the domain

state

public DomainInfo.DomainState state
the running state, one of virDomainFlag

Method Detail

toString

public String toString()