7.2.17 lsxattr

Display extended attributes for a file or vault.

Syntax

lsxattr { file-name | vault-name } [ --name xname ]
        [ -v | --verbose ] [ -u | --unlimited ]
        [{ -w | --wallet } wallet-location ] 
        [{ -T | --trace } trace-level ] 
        [{ -j | --json } [ --compact ]]

Command Options

The options for the lsxattr command are:

  • { file-name | vault-name }: Specifies the file or vault that is the subject of the command.

  • --name: Specifies the name of the extended attribute that is being displayed.

    If not specified, the command displays all extended attributes associated with the specified file or vault.

  • -v, --verbose: Displays extended attributes with size information.

  • -u, --unlimited: Displays complete extended attribute values. If not specified, the output of extended attribute values is limited to 80 characters.

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