7.2.23 template

Display vault-level template attributes.

Syntax

template @vault template-name
         [{ -w | --wallet } wallet-location ] 
         [{ -T | --trace } trace-level ]
         [{ -j | --json } [ --compact ]]

Command Options

The options for the template command are:

  • @vault: Specifies the vault that contains the template being displayed. The vault name must include the leading at sign (@) character.

  • template-name: Specifies the template being displayed.

  • -w, --wallet: Optionally specifies the path to the Exascale wallet directory.

  • -T, --trace: Optionally enables tracing, with the trace level (trace-level) set to 1 (minimum tracing), 2 (medium tracing), or 3 (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:

    1. If the $ADR_BASE environment variable is set:

      $ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    2. /var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    3. /tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
  • -j, --json: Displays the output in JSON format.

  • --compact: Displays JSON formatted output in a compact format, without white space and line breaks.

Examples

Example 7-42 Display information about an Exascale template

The following example displays information about my-template, which is contained in @my-data.

$ xsh template @my-data my-template

Related Topics