7.2.12 lsresourceprofile
List resource profiles.
Syntax
lsresourceprofile --vault vault-name [ --name resource-profile-name ]
[ -l ] [ --detail ]
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
Command Options
The options for the lsresourceprofile
command are:
-
--vault
: Identifies a specific vault. -
--name
: Identifies a specific resource profile name. -
-l
: Returns output in a long, tabular form. -
--detail
: Lists all attributes in a detailed form. -
-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
-
-
-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-24 List Resource Profiles
This example lists the resource profiles associated with the vault named
vault2
.
$ xsh lsresourceprofile --vault vault2
Example 7-25 List a Specific Resource Profile
This example shows how to display detailed information about the resource
profile named silver
that is associated with the vault named
vault2
.
$ xsh lsresourceprofile --vault vault2 --name silver --detail
Related Topics
Parent topic: XSH Command Reference