[ovirt-users] Reg: Could not able to collect VCPU details for VMs
Juan Hernandez
jhernand at redhat.com
Thu May 8 14:52:01 UTC 2014
On 05/08/2014 04:48 PM, Rathidevi wrote:
> 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 = vm.getCpu();
> CpuTune tune = cs.getCpuTune();
> List<VCpuPin> ms = tune.getVCpuPin();
> for(int vc=0; vc<ms.size(); vc++)
> {
> VCpuPin pin = (VCpuPin)ms.get(vc);
> pin.getVcpu();
> }
>
> Note: getVcpu does not giving any output.
>
>
> Thanks & Regards,
> Rathidevi
>
>
What kind of information about the CPUs are you trying to find exactly?
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
More information about the Users
mailing list