[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen 3- help on physinfo


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "virg g" <06virg@xxxxxxxxx>
  • Date: Fri, 14 Jul 2006 08:56:51 +0530
  • Delivery-date: Thu, 13 Jul 2006 20:27:27 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EEzau2bGYFtOmHtxt9L6pVJ48UWRMZIHBTa038fVweVSE4WNpcGO1rOyT2kUF1HrVp68CuFMONDs6SgLbU8u4imy1Gqt00qRbsQfXG307+tpFhpKgGpQsMkpk4Gd3jfV37Zhoc4raPiCt53uaYao2nBziojoIm4jUTVW6iT061A=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,
 
  We are using Xen 3.0 on Fedora Core 4 for virtulisation. we will be having pool of systems with this instalaltion remotely and we will not be having direct access to these systems. Our application runs on each of these systems. Our application provides APIs to get the system details. 
From our application we have wrapper function for "physinfo()" where we get the information of  cpu/memory details. Our wrapper function does not return all the parameters of "physinfo()" returns. From our wrapper function we get only these following parameters.
 
'total_memory': 3920,
 'hw_caps': 'bfebfbff:00000000:00000000:00000080:00004400',
 'cores_per_socket': 1,
 'sockets_per_node': 2,
 'free_memory': 1900,
'cpu_khz': 2799313,
'nr_nodes': 1,
 'threads_per_core': 1
 
we need to find out  system details from this data.
From these details i will get information of  processor speed, total memory and available memory of the system.
Using these details, is there any way i can find "physical number of CPUs" of this system and also its type.
'hw_caps' is for hardware capability, from this paramter can we find out hardware details, if so how can we find out. I have searched for this, but could not find proper answer.
 
Any help is highly appreciated.
Thanks in advance
 
regards
virg
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.