WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen 3 - physinfo

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3 - physinfo
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 3 - physinfo, virg g <=