Hi,
I too am having the same problem.
Here's the output.
Thanks
- 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
Diwaker
--
Web/Blog/Gallery: http://floatingsun.net/blog
_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools