
Xen::Domain - xen domain representing object

my $domain = Xen::Domain->new(
'name' => 'lenny',
'id' => 1,
'mem' => 256,
'vcpus' => 2,
'state' => '-b----',
'times' => 11.5,
);
print $domain->name, ' uses ', $domain->mem, 'MB of memory.', "\n";

Object module representing Xen domain.

name
id
mem
vcpus
state
times

Object constructor.

Jozef Kutej