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

Re: [Xen-users] understanding xm top

To: "john maclean" <jayeola@xxxxxxxxx>
Subject: Re: [Xen-users] understanding xm top
From: "Tommie McAfee" <tahmmee@xxxxxxxxx>
Date: Wed, 15 Nov 2006 10:28:19 -0500
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Nov 2006 07:28:37 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dcB7z7SyHrU+wZ9br6onz30ue+E7ZJlarG93sQNkYJsvCyhRpIwRfMEtBrb+Q+F6cfKwUiorHVZaUySTUz0Fwdn2GqiqC00J9TxIrxtGBcRUsDvZYQJZ5addxrybZrKtku1rc9gdmqZatx+L06oWvmhUZxUbyu62Aim9ZRi8lp4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4170c1720611111024r55ba6449p3bdc1ce75b010961@xxxxxxxxxxxxxx>
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>
References: <4170c1720611111024r55ba6449p3bdc1ce75b010961@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
These values are for the "whole box" meaning: whatever you start dom0 with, whatever you start a domU with, xm top will show.  They will not change even after doing vcpu-sets or mem-sets, and so they do always match with xm list.


On 11/11/06, john maclean <jayeola@xxxxxxxxx> wrote:
For the output of 'xm top', are the %mem and %cpu fields the
percentages for the totals or the amount that they have been
allocated? For example:-

acid:~# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      256     1 r-----  3825.9
bxvm                               1      128     1 ------   355.4
cxvm                               3      128     1 -b----    76.1
cxvm0                              8       64     1 -b----   383.5
exvm                               9       98     1 ------   198.4

If xm top showed
     NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k)
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) SSID
  Domain-0 -----r       3847     6.5     262148   25.2   no limit
n/a     1    8    31428   456290    0
      bxvm --b---        356    0.6      68376    6.6      73728
7.1     1    1    30490    19836    0
     cxvm0 --b---        383    0.0       65348    6.3      65536
6.3     1    1     4065   168943    0
      exvm --b---        199    0.9      64328    6.2      65536
6.3     1    1     1095      718    0
      cxvm --b---         76    0.0      64320     6.2      65536
6.3     1    1      994     4902    0

Are the  CPU(%) and MAXMEM(%)  a percentage of the total cpu and mem
for the whole box or just what they have been allocated, as shown by
`xm list`?

Thanks Chaps.

--
John Maclean  - 07739 171 531
MSc (DIC)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
a.out
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users