WARNING - OLD ARCHIVES

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

xen-users

Re: [Xen-users] how to use xentrace and xentrace_format

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to use xentrace and xentrace_format
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 31 Jul 2007 03:16:59 +0100
Cc: vm-buaa@xxxxxxxxxxxxxxxx, 文成建 <wenchengjian@xxxxxxxxxxxxxxx>
Delivery-date: Mon, 30 Jul 2007 19:14:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000001c7d05a$817c75c0$84756140$@buaa.edu.cn>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <000001c7d05a$817c75c0$84756140$@buaa.edu.cn>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
>         I have read the man page for xentrace and xentrace_format. But I am
> still puzzled on how to use them.
>
> Could somebody give me an example about how to use xentrace and
> xentrace_format.
>
> What I have done is that:
>
> 1.       Root:/# Xentrace
>
> The display is Cannot output to a TTY, specify a log file
>
> 2.       Root:/# xentrace /var/perftests/xentrace.log

The problem here is possibly that you've not specified an event mask.  Try 
invoking xentrace with "-e all" to tell it to log all events.

An easy way to tell if this is the problem is probably to ls -l and look at 
the size of the file.  If it's small and not growing, then xentrace probably 
isn't collecting events for you!

> Then I use xentrace_format to get what I want
>
> 3.       cat /var/perftests/xentrace.log | xentrace_format myformat


That looks right too...  but what is myformat?  Using the default formats file 
from the Xen distribution is probably a good start when you're playing around 
with this, at least until you know you can get some output.

Cheers,
Mark

> But nothing could I get.
>
>
>
> Really need your help.
>
>
>
> Thanks,
>
> Dowen



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>