This is a multi-part message in MIME format.
------=_NextPart_000_00D6_01CF6AFA.A5BD0430
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Users,
I am using ovirt package for RHEV development. I can able collect the =
ipaddress, os, status and name of the virtual machines.
But i want the CPU details of all VMs. I tried this below method but i =
stil can not get cpu informations. I hope this can understand.
Please help to resolve this issue.
CPU cs =3D vm.getCpu();
CpuTune tune =3D cs.getCpuTune();
List<VCpuPin> ms =3D tune.getVCpuPin();
for(int vc=3D0; vc<ms.size(); vc++)
{
VCpuPin pin =3D (VCpuPin)ms.get(vc);
pin.getVcpu();
}
Note: getVcpu does not giving any output.
Thanks & Regards,
Rathidevi
------=_NextPart_000_00D6_01CF6AFA.A5BD0430
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
#000000">
<DIV>Hi Users,</DIV>
<DIV> </DIV>
<DIV>I am using <STRONG>ovirt</STRONG> package for RHEV development. I
=
can able=20
collect the ipaddress, os, status and name of the virtual =
machines.</DIV>
<DIV>But i want the CPU details of all VMs. I tried this below method =
but i stil=20
can not get cpu informations. I hope this can understand.</DIV>
<DIV>Please help to resolve this issue.</DIV>
<DIV> </DIV>
<DIV>CPU cs =3D vm.getCpu();</DIV>
<DIV>CpuTune tune =3D cs.getCpuTune();</DIV>
<DIV>List<VCpuPin> ms =3D tune.getVCpuPin();</DIV>
<DIV>for(int vc=3D0; vc<ms.size(); vc++)</DIV>
<DIV>{</DIV>
<DIV>VCpuPin pin =3D (VCpuPin)ms.get(vc);</DIV>
<DIV>pin.getVcpu();</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>Note: getVcpu does not giving any output.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks & Regards,</DIV>
<DIV>Rathidevi</DIV></DIV></DIV></BODY></HTML>
------=_NextPart_000_00D6_01CF6AFA.A5BD0430--