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/
Home Products Support Community News


RE: [Xen-tools] about XenMon

To: "Diwaker Gupta" <diwaker.lists@xxxxxxxxx>, "wu_yang1998" <wu_yang1998@xxxxxxx>
Subject: RE: [Xen-tools] about XenMon
From: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>
Date: Wed, 14 Jun 2006 12:39:32 -0700
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Jun 2006 12:41:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-tools-request@lists.xensource.com?subject=help>
List-id: Xen control tools developers <xen-tools.lists.xensource.com>
List-post: <mailto:xen-tools@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaP37cuqyQk7PK3QNKJ+Q0IFEOw8gACg9bQ
Thread-topic: [Xen-tools] about XenMon



I too am having the same problem.


Here's the output.


- Padma


[root@dna xenmon]# ./xenmon.py

xenbaked: no process killed

ms_per_sample = 100

Initialized with 4 cpu's

CPU Frequency = 3325.22

ERROR: Failure to get trace buffer pointer from Xen (22 = Invalid argument)

xenbaked: no process killed

[root@dna xenmon]# tbctl 1

Segmentation fault

[root@dna xenmon]# setsize =20

Current tbuf size: 0x1000

set_size Hypercall failure: Invalid argument

[root@dna xenmon]#




-----Original Message-----
From: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-tools-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Diwaker Gupta
Sent: Wednesday, June 14, 2006 11:21 AM
To: wu_yang1998
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-tools] about XenMon


On 6/14/06, wu_yang1998 <wu_yang1998@xxxxxxx> wrote:

> I have just downloaded Xen-3.0.2 from website and install it on my Fedora 4

> Linux system. The system can boot ok. Now I want to use Xenmon to monitor my

> system. I use tools/xenmon. When I start xenmon.py, it reports "Failure to

> get trace buffer pointer from Xen (22=invalid argument)". I check xenbaked.c

> source file and find that tb_controls fail. I do not know how to do, if I

> have to update xen or the Xenmon is not complete? If someone knows, please

> help me!


If you installed Xen properly, you shouldn't have to go into tools/ to

run anything -- the binaries should be installed in the right places,

so you should be able to simply run 'xenmon.py'.


As Rob mentioned, you need to do:


$ tbctl 1                  # this turns tracing on

$ setsize 20               # size of trace buffers




Web/Blog/Gallery: http://floatingsun.net/blog



Xen-tools mailing list



Xen-tools mailing list
<Prev in Thread] Current Thread [Next in Thread>