|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] how to use xentrace and xentrace_format
> 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
|
|
|
|
|