[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] how to use xentrace and xentrace_format
I try it many time. ROOTï/#xentrace -e all /tmp/xentrace.dat ROOTï/# xentrace_format /tmp/xentrace.dat OUTPUTïBad format file I also check the xentrace.dat ,it really has some data ,i don't know how to use xentrace_format to read trace data. really need your help! thank you ! Mark Williamson wrote: > >> 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 > > -- View this message in context: http://www.nabble.com/how-to-use-xentrace-and-xentrace_format-tp11830450p14308567.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |