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] Finding free memory

To: Rushikesh <rushikesh.jadhav@xxxxxxxxxx>
Subject: Re: [Xen-users] Finding free memory
From: Todd Deshane <deshantm@xxxxxxxxx>
Date: Tue, 21 Dec 2010 15:40:09 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Dec 2010 12:42:03 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=hq03GQsI0YJcihjtvHS6Y2BEHtDG91er9RKFX+Mye0s=; b=PlmYVLgCc+SipCzkpvQbgd5/uZKRiWDgjplLZR9V34QU0jV33LJdgHUeRnlNWSLbKI 2lmGyDQL51h6tnWCq0V+vn4MVtpo54m/qu8Ee4N/ifOg7O18oJBxx3OOGKhKSTqV7yza FJ2YTjLwW3997jI7G1EhCgqhxJ0zHW6Tn8d8M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=eza0mxsNYtr0AvOh3PhWm2WFiQ6kSzOGQ2wsbU4heeonRMtZsGLsBwYlUnp60eG9YX ZUQKUCfMWYF5OeKQXMRNkeWyHTnQw7SSjkC+Bm9qtIguZ272q22KhkbAdVKUQ2JmzDFc h5YBPh/wcWqGws1W0HtQAowXtoaFenD1Fo1gM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D10F03B.8080403@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D10F03B.8080403@xxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Dec 21, 2010 at 1:21 PM, Rushikesh <rushikesh.jadhav@xxxxxxxxxx> wrote:
> Hi list,
>
> This is probably my first email to the list :)
>
> I'm using XCP 0.5 as of now and I'm very happy with its performance and
> features.
>
> I'm trying to identify two realtime parameters of a running VM using
>
> # xe vm-data-source-query  data-source=memory_internal_free vm=vm1
>
> # xe vm-data-source-query  data-source=memory vm=vm1
>
> On a stable VM (the VM whose target memory is not changing rapidly) these
> commands are giving correct output but if I set a VM's target memory and try
> to check its internal free memory Im getting old value... and after a minute
> If I fire the same command to check internal free memory it gives me an
> updated value which is correct.
>
> I want to fetch the realtime data with "# xe vm-data-source-query
>  data-source=memory_internal_free vm=vm1"   but  cant get.. the output is
> always a minute old
>
> could someone please shed some light on this.?? or am I missing anything ??
>  or is there any way by which I can force xe command to update its database
> ?

Determining free memory is tricky. Make sure that you have the
XenServer tools installed.

Are you familiar with this wiki page:
http://wiki.xensource.com/xenwiki/Dynamic_Memory_Control

Let us know if that helps.

Thanks,
Todd

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

<Prev in Thread] Current Thread [Next in Thread>