7.2.16 lstemplate

Display template attributes.

Syntax

lstemplate template-name 
           [ --vault vault [ --storage-pool ] | --cluster ] 
           [{ -w | --wallet } wallet-location ] 
           [{ -T | --trace } trace-level ]
           [{ -j | --json } [ --compact ]]

Command Options

The options for the lstemplate command are:

  • template-name: Identifies the template that is the subject of the command.
  • --vault: Indicates that the specified template is a vault-level template and identifies the associated vault.

  • --storage-pool: Optionally includes the storage pool name in the output.

  • --cluster: Indicates that the specified template is a cluster-level template.

  • -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.

Usage Notes

Note the following information when using this command:

  • If neither --vault nor --cluster is specified, the command displays information about the effective template.

Examples

Example 7-29 Display Attributes of an Exascale Template

The following example displays attributes of the user-defined template named my-template, which is associated with the my-data vault.

$ xsh lstemplate --vault my-data --name my-template

Related Topics