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

[Xen-users] Xen 3 - physinfo


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "virg g" <06virg@xxxxxxxxx>
  • Date: Wed, 12 Jul 2006 13:01:54 +0530
  • Delivery-date: Wed, 12 Jul 2006 00:32:33 -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=g45LeS58eoh7HlTTM3fs8oGOYWRr/1vUldNtum7yGmdJuakRqMek7bjGBSo/hAiWqaOHHEyoHM69UJ7PQ2xU1k6g5C097Fueu8dvivqy5FKfALq9SQ7ZEjP8s9vr5dAIaiNoxZ/2BqPNdfd5dcLks3jxFUK0p401Iz6fi2sHqHk=
  • 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.
 
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®.