Sunday, March 22, 2009

xentrace, xenmon

XenMon:

http://www.hpl.hp.com/techreports/2005/HPL-2005-187.html

http://lists.xensource.com/archives/html/xen-tools/2006-06/msg00006.html

Xentrace:

http://lists.xensource.com/archives/cgi-bin/extract-mesg.cgi?a=xen-users&m=2007-07&i=000001c7d05a%24817c75c0%2484756140%24%40buaa.edu.cn

http://lists.xensource.com/archives/html/xen-tools/2007-03/msg00004.html

http://lists.xensource.com/archives/html/xen-tools/2006-06/msg00007.html

http://lists.xensource.com/archives/html/xen-users/2007-07/msg00783.html

http://books.google.com/books?id=dKaBdb-xYcoC&pg=PA194&lpg=PA194&dq=how+to+use+xentrace&source=bl&ots=c7AbMSkRG8&sig=GirFTfx9oKDNoFaMgroo-3LHvmY&hl=en&ei=UnXGSd7_GI-stgf375hn&sa=X&oi=book_result&resnum=9&ct=result#PPA195,M1


Summary:

1) xentrace -e all trace.out (this command will record all the events)

2) cat trace.out| xentrace_format formats | more

xentrace_format is a program to translate the binary format of trace.out to text format.

The formats file is in /tools/xentrace/formats.   In the same directory, there is a file called xentrace_format. It is not the "format" file, it is a python program. If you use it as format file, you will get an error "SyntaxError: Unexpected EOF while parsing".


No comments: