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] Domain level Network and VBD numbers in a loggable forma

To: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Subject: Re: [Xen-users] Domain level Network and VBD numbers in a loggable format
From: "Ashish Gupta" <ashishgup@xxxxxxxxx>
Date: Wed, 23 May 2007 19:51:27 -0500
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 May 2007 17:49:49 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rRdyzyITnUqkUKl6XP/cGWnCkvyVt95T5WQDvooEHMuZYWWWx69O8+gupujcpjaR24j4x1Sgl/cE9N17aMZdCfOnJ4wa7KjWfxwNFQfkLq6IbFNf55jTUp5R4tiWRZn4sYk1GGAeqFgEGp3RPQpYYwScub4Sxpk8DqZ0mRM0XHM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=XuRkysGArDSaJ5zCJGz9TNxk3mfqkyn3eJogffzXO55iMk5oVua2KVRWBsje4MWJnY80j62Yj7SkPh8Zeo4sNnxhYrTEt3lDo3z4+tYxynLaBAoDnxnYNUzdrQTAuJa9tUdYIBHdfKal903npUh7b0ueF/8lsESem2mLmv7cLoU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f58fc26d0705210656v5eae862anb3e5985176a816dc@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: <fcc5876b0705181721w4dc3216fvacd1d9021328d958@xxxxxxxxxxxxxx> <f58fc26d0705210656v5eae862anb3e5985176a816dc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks so much !
I assume from this that there is really no way to get sub-second data for these metrics unless I add manual tracing events using xentrace to the xen code ?

cheers,
Ashish

On 5/21/07, trilok nuwal <tc.nuwal@xxxxxxxxx> wrote:
Yes that u can do,

 /usr/sbin/xentop --help
Usage: /usr/sbin/xentop [OPTION]
Displays ongoing information about xen vm resources

-h, --help           display this help and exit
-V, --version        output version information and exit
-d, --delay=SECONDS  seconds between updates (default 3)
-n, --networks       output vif network data
-x, --vbds           output vbd block device data
-r, --repeat-header  repeat table header before each domain
-v, --vcpus          output vcpu data
-b, --batch          output in batch mode, no user input accepted
-i, --iterations     number of iterations before exiting

U shoud use option -b ( Batch ) and -i to get the No of times u want to get the output and then pass stanadard output to a file for later analysis.

Example
#xentop -b -i 10 1>log &

log file contains the output of 10 iterations.

Then use appropriate options to filter the output for either network or others.

Thanks,
Trilok

On 5/19/07, Ashish Gupta < ashishgup@xxxxxxxxx> wrote:
Hi,

xentop displays network and VBD numbers at the domain level. Can I somehow log them  for offline analysis ?
Are they available in procfs or sysfs ?

thanks!
Ashish

--
http://www.cs.northwestern.edu/~agupta

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




--
http://www.cs.northwestern.edu/~agupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>