Ashish Gupta
2007-May-19 00:21 UTC
[Xen-users] Domain level Network and VBD numbers in a loggable format
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@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal
2007-May-21 13:56 UTC
Re: [Xen-users] Domain level Network and VBD numbers in a loggable format
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@gmail.com> 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<http://www.cs.northwestern.edu/%7Eagupta> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ashish Gupta
2007-May-24 00:51 UTC
Re: [Xen-users] Domain level Network and VBD numbers in a loggable format
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@gmail.com> 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@gmail.com> 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<http://www.cs.northwestern.edu/%7Eagupta> > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > >-- http://www.cs.northwestern.edu/~agupta _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users