Purpose
List trace files.
Syntax and Description
show tracefile [file1 file2 ...] [-rt | -t] [-i inc1 inc2 ...] [-path path1 path2 ...]
This command searches for one or more files under the trace directory and all incident directories of the current ADR homes, unless the -i
or -path
flags are given.
This command does not require an ADR home to be set unless using the -i
option.
Table 17-21 describes the arguments of SHOW
TRACEFILE
.
Table 17-21 Arguments for SHOW TRACEFILE Command
Argument | Description |
---|---|
|
Filter results by file name. The % symbol is a wildcard character. |
Table 17-22 Flags for SHOW TRACEFILE Command
Flag | Description |
---|---|
|
Order the trace file names by timestamp. Timestamps are listed next to each file name when using this option. |
|
Select only the trace files produced for the given incident IDs. |
|
Query only the trace files under the given path names. |
Examples
This example shows all the trace files under the current ADR home:
show tracefile
This example shows all the mmon
trace files, sorted by timestamp in reverse order:
show tracefile %mmon% -rt
This example shows all trace files for incidents 1 and 4, under the path /home/steve/temp:
show tracefile -i 1 4 -path /home/steve/temp