7.2.22 strings
Display strings of printable characters in an Exascale file.
Syntax
strings [ -n num ] [ --aio=naio ]
file-name
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
Command Options
The options for the
strings
command are:
-
file-name: Specifies the file being processed.
-
-n
: Optionally specifies the minimum output string length. The default value is 4. -
--aio
: Specifies the number of asynchronous I/O channels used to process the command. Asynchronous I/O enables the command to initiate I/O operations and continue executing other tasks without waiting (blocking) for the I/Os to complete. The default value is 4, which generally provides an optimal balance of performance and resource utilization. -
-w
,--wallet
: Optionally specifies the path to the Exascale wallet directory. -
-T
,--trace
: Optionally enables tracing, with the trace level (trace-level) set to1
(minimum tracing),2
(medium tracing), or3
(maximum tracing). If the trace level is not specified, then minimum tracing is enabled by default.The trace file is written to the first accessible location in the following list:
-
If the
$ADR_BASE
environment variable is set:$ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
-
Examples
Example 7-41 Display printable strings in an Exascale file
The following example displays printable strings contained
in @my-data/my-file
to standard output.
$ xsh strings @my-data/my-file
Related Topics
Parent topic: XSH Command Reference