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

Re: [Xen-users] Domain level Network and VBD numbers in a loggable format


  • To: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.