ktracedump.1m (2010 09)

k
ktracedump(1M) ktracedump(1M)
also the Timekeeping section.
-J AbsSec%10.3lf
would show the AbsSec column as a 10-character-wide column with 3
places after the decimal, representing seconds.milliseconds.
-J ElUSec%7.0lf would show the ElUSec column as a 7-character-wide column with 0 places
after the decimal, representing whole microseconds.
-j column
Do not show the specified column number or name in the output. For example,
-j PSR will
suppress the display of the
PSR column. -j 0
will hide all fields.
-S column
Sort the traces by the specified column name or number.
Column name
AbsTime or AbsSec will sort by timestamp.
Column name
Seq or ZSeq will sort by sequence number.
The default sort order is first by CPU primary, and secondary by
AbsTime (timestamp).
When a sort option is specified, the elapsed time data (
ElTime, ElUSec) will reflect the new sort
order.
-a Print the function argument values by showing the arg0,
arg1, arg2, and arg3 columns in the
ktracedump output.
-X aN
X is for extended functionality. The
aN extension enables the reporting of up to 8 function argu-
ments.
a is short for arg, and N is an integer arg count between 1 and 8.
11.31 1003 PHKL_40202 delivers the capability to trace up to 8 function arguments, namely, arg0
through arg7, on Integrity hardware. If kernel support for 8 args is not present, only 4 args max-
imum will be displayed.
Existing
ktracedump options such as -A and -a will show just arg0 through arg3 for compatibil-
ity.
Specify
-X a8 to show columns for arg0 through arg7 in the ktracedump output.
-g Print the global variables by showing the global0, global1
, global2, and global3 columns
in the
ktracedump output.
-A Show all columns (all fields) of each trace record in the ktracedump output.
-f column:egrep_opts:regexp
Filter in (include) or filter out (exclude) which trace records are displayed in the report, based on
whether the specified column has a value that matches the specified regular expression, regexp .
Refer to regexp (5) and egrep (1).
Allowable egrep_opts are [
iv], meaning the letter i, v, both, or neither.
i means ignore upper/lowercase diffs during comparisions,
v means include all trace records EXCEPT those matching.
When no egrep_opts are specified, upper case letters do not match lower case. Trace records will be
included in the report when the column value matches regexp, and excluded from the report other-
wise.
The
-f option may be repeated on the command line to apply multiple filters, with cumulative
effect.
For an example of using multiple filters, see filter.opts in the section named Reading Command Line
Options from a File .
Elapsed times (ElTime , ElUsec ) and sequence numbers (Seq, ZSeq) will be computed after all the
filters are applied.
-N Suppress the display of all trace records.
If
-N is not specified, then trace records will be displayed, presuming they exist and are not filtered
out by -f.
If
-N is specified, then after ktracedump reports the header information (processor speed,
memory usage), ktracedump will skip the trace record section of the output. ktracedump will
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010