XENTRACE_FORMAT(1) General Commands Manual XENTRACE_FORMAT(1)NAME
xentrace_format - pretty-print Xen trace data
SYNOPSIS
xentrace_format [ DEFS-FILE ]
DESCRIPTION
xentrace_format parses trace data in xentrace binary format from standard input and reformats it according to the rules in a file of defi-
nitions (DEFS-FILE), printing to standard output.
The rules in DEFS-FILE should have the format shown below:
event_id whitespace format
Each rule should start on a new line.
The format string may include format specifiers, such as: %(cpu)d, %(tsc)d, %(event)d, %(1)d, %(2)d, %(3)d, %(4)d, %(5)d
[ the `d' format specifier output in decimal, alternatively `x'
will output in hexadecimal and `o' will output in octal ]
These correspond to the CPU number, event ID, timestamp counter and the 5 data fields from the trace record. There should be one such rule
for each type of event to be pretty-printed (events which do not have formatting rules are ignored).
A sample format file for Xen's predefined trace events is available in the file tools/xentrace/formats in the Xen source tree.
Depending on your system and the rate at which trace data is produced, this script may not be able to keep up with the output of xentrace
if it is piped directly. In these circumstances you should have xentrace output to a file for processing off-line.
AUTHOR
Mark A. Williamson <mark.a.williamson@intel.com>
SEE ALSO xentrace(8), xentrace_cpusplit(1)Xen domain 0 utils 11 May 2004 XENTRACE_FORMAT(1)
Check Out this Related Man Page
mhub(1) GGI mhub(1)NAME
mhub - converts LibGII events to mouse protocol or mhub data
SYNOPSIS
mhub [options]
DESCRIPTION
mhub reads pointer events from the LibGII default device and outputs mouse protocol data and/or mhub data to the specified files. The
default device is specified with the GII_INPUT environment variable, see the libgii(7) manual for more info.
OPTIONS -h displays this help and exit
-v output version information and exit
-d print contents of received events to standard error
-s terminate program when a SIGPIPE signal is received. The default is to ignore SIGPIPE.
-e BUTNR
only generate mhub events for buttons >= BUTNR. The default is 4.
-b FILE
output mhub events to FILE
-2 FILE
output PS/2 format data to FILE
-i FILE
output (serial) IntelliMouse format data to FILE
-m FILE
output MouseSystems format data to FILE
-r FROM TO
remap button FROM to button TO
-w BUTNR
transform wheel up motion to a BUTNR mhub event
-W BUTNR
transform wheel down motion to a BUTNR mhub event
A maximum of 20 mhub event outputs and 20 mouse data outputs are supported. The number of remaps are unlimited and all remaps occur before
any other processing.
Mouse data outputs may all use different protocols.
libgii-1.0.x 2004-10-14 mhub(1)
OK, I have a command that is getting a result, that I am trying to format using awk.
I think it's pretty ugly, and there is probably a better way to do it, but this is sorta working for me. Anyway, the command:
cat /var/log/cups/page_log | grep testuser | grep My_office_printer | awk '{gsub... (5 Replies)
Hello
I have a pretty big problem here. I have a very large file having lines running into millions. A small sample of the data is shown below
<CRMSUB:MSIN=5000000013,BSNBC=TELEPHON-55108663-TS11&TS21&TS22,MSCAT=ORDINSUB,SUBRES=ALLPLMN-AIRSIMLA,BAOC=OIC,NUMTYP=MULTI;... (3 Replies)
Hi,
I have really long script doing a lot of processing. Its printing a lot of output information on standard output .i.e screen.
Is there a way to output is passed onto a file rather then printing them on screen.
Thanks
Sumeet (3 Replies)
hello,
I am using fedora core 6.
and there is Xen Virtual Console installed in my system ....due to which I am not able to use my serial ports.......
What is thi Xen virtual console and what it does?????
So, Can I unintall this Xen virtual Console.....
or any method so that I can use my... (3 Replies)
Hey guys, I am trying to compile Xen-3.0.3 on Slackware12. It's been only one week since started using Slackware, and I am loving it.
The problem I have is that during the make tools phase, the compilation requires crypto libraries, and I do not know how can I get them on Slack. On my Debian... (0 Replies)
Hi guys
I'm going to be moving a linux box into collocation to support the growing demands of my sites and have been trying to figure out if Xen is right for me. I'd appreciate hearing some real-world experience with the overhead involved and the optimal ways to slice up a box. Right now I feel... (1 Reply)
Hello
I'm pretty new to Shell Programming and I'm trying to write a script to display the out of a file displaying licence-use for an application. I've piped the output of my licence-use query to a file. On this file I am trying to run the following awk file, but I keep getting the error:
... (6 Replies)
I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Hello Folks,
Anyone know about the support possibilities of Xenserver(open source) on CentOS6..?
As I Googled and read alot of forums, but no luck. I have tried the followings.
OS: CentOS6
Kernel: 2.6.32-71.29.1.el6.x86_64
Arch: x86_64
When tried to install XenServer from source.
Xen4.0 -... (1 Reply)
Hi Gurus,
I've a sample output from a script with a header as shown below.
The formatting is a little bit out of alignment when it's sent out via email.
Sample output:
Label Date New Data #AB Removed #CD Net Change
Statistic 2012-06-03 21807 mb 206 ... (3 Replies)
Hi,
I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC... (4 Replies)
Hi,
I need help in printing data in below format from file extensions with .dml, i have listed details below
file name is test_temp.dml, location in /home/users/test01/test_temp.dml
file content:
sample_type=
record
decimal(",") test_type;
date("DD-MM-YYYY")(",") test_date... (2 Replies)
Hi,
below 'awk' code was given for my thread 'Help with printing output format from a file ' earlier, however script is not resulting expected output with below file content.
cat test_tes123.dml
record
string("\001") emp_num; /* CHAR(11) NOT NULL*/
date("YYYYMMDD")... (1 Reply)