Hi, I''m running Xen-unstable version and trying to collect some data using "xenmon". Following instructions in some previous discussion ( http://lists.xensource.com/archives/html/xen-users/2006-01/msg00136.html), I did the following: # ./tbctl 1 Tracing now enabled # ./setsize 10 Current tbuf size: 0xa000 set_size Hypercall failure: Invalid argument I tried to run the commands in reverse order, which did not help either. Am I missing something? Does anyone have any idea how can I make xenmon work? Thanks in advance, Amitayu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Once you have run those, go to the xenmon directory. Make sure xenbaked is copied to a directory which is in your path (xenmon.py needs that). I copied xenbaked to /usr/sbin/ Now run xenmon.py python xenmon.py The above works for me. On 1/12/06, Amitayu Das <amitayudas@gmail.com> wrote:> > Hi, > > I''m running Xen-unstable version and trying to collect some data using > "xenmon". > Following instructions in some previous discussion ( > http://lists.xensource.com/archives/html/xen-users/2006-01/msg00136.html), > I did the following: > > # ./tbctl 1 > Tracing now enabled > # ./setsize 10 > Current tbuf size: 0xa000 > set_size Hypercall failure: Invalid argument > > I tried to run the commands in reverse order, which did not help either. > Am I missing something? Does anyone have any idea how can I make xenmon > work? > > Thanks in advance, > Amitayu > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- regards, Anand _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/13/06, Anand <xen.mails@gmail.com> wrote:> Once you have run those, go to the xenmon directory. Make sure xenbaked is > copied to a directory which is in your path (xenmon.py needs that). I copied > xenbaked to /usr/sbin/If you are installing from source, then doing the regular make install should copy all the binaries at appropriate locations. You should NOT have to copy them yourself manually. On my machine, Xen puts its binaries in /usr/local/sbin> python xenmon.pyYou should not have to do this either. If doing a 'make install', Xen will make xenmon.py executable and the shell should automatically invoke the python interpreter for you. Can you please try running just 'xenmon.py' and see if that works for you? Diwaker -- Web/Blog/Gallery: http://floatingsun.net _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Oops. Sorry my instructions were from my devel box where i have xen 3,0 stable installed and xen unstable only compiled in a seperate directory and not installed. I just run what ever i need in it/ refer to it. Thanks for the correction Diwaker. On 1/14/06, Diwaker Gupta <diwaker.lists@gmail.com> wrote:> > On 1/13/06, Anand <xen.mails@gmail.com> wrote: > > Once you have run those, go to the xenmon directory. Make sure xenbaked > is > > copied to a directory which is in your path (xenmon.py needs that). I > copied > > xenbaked to /usr/sbin/ > > If you are installing from source, then doing the regular make install > should copy all the binaries at appropriate locations. You should NOT > have to copy them yourself manually. On my machine, Xen puts its > binaries in /usr/local/sbin > > > python xenmon.py > > You should not have to do this either. If doing a ''make install'', Xen > will make xenmon.py executable and the shell should automatically > invoke the python interpreter for you. > > Can you please try running just ''xenmon.py'' and see if that works for you? > > Diwaker > -- > Web/Blog/Gallery: http://floatingsun.net >-- regards, Anand _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel