6.2.10.2 lsresourceprofile
List resource profiles.
Purpose
The lsresourceprofile command displays information about Exascale resource profiles that are associated with
a vault.
Syntax
lsresourceprofile [ [vault-name/]resource-profile-name
[,[vault-name/]resource-profile-name ]... ]
[ -l ] [ --detail ]
[ --attributes attribute[,attribute]... ]
[ --filter filter[,filter]... ]
[ --sort [-]attribute[,[-]attribute]... ]Command Options
The options for the lsresourceprofile
command are:
-
resource-profile-name: Identifies a specific resource profile name.
-
vault-name: Identifies a specific vault.
If not specified, then the current working directory is used to specify the vault.
-
-l: Displays output in a long, tabular format. -
--detail: Displays detailed output with additional attributes. -
--attributes: Identifies specific attributes to display in the output.To see a list of all available attributes and their descriptions, use the
describe resourceprofilescommand. See also Describing Resources and Attributes. -
--filter: Specifies conditions for including items in the output. -
--sort: Sorts the output using the specified attributes.
Usage Notes
Note the following information when using this command:
-
Filter conditions are specified as:
<attribute><operator><value>.The allowed operators are =, !=, >=, <=, >, and <.
Multiple comma-separated filter conditions are combined using AND logic.
For example, the following filter only includes objects not named
TEST:--filter name!=TEST -
Sorting attributes are specified as:
[-]attribute. Multiple sort attributes are comma-delimited. The default sort order is ascending. For descending sort order, prefix the attribute name with-.For example, use the following to sort output by name in descending (reverse-alphabetical) order:
--sort -name
Examples
Example 6-137 List Resource Profiles
This example lists the resource profiles associated with the vault named
vault2.
@> lsresourceprofile --filter vault=vault2
Example 6-138 List Resource Profiles
This example lists the resource profiles associated with the vault named
vault2. In this example, the vault association is not specified in the
command but is derived from the current working directory in the ESCLI session.
@vault2> lsresourceprofile
Example 6-139 List a Specific Resource Profile
This example shows two ways to display detailed information about the resource
profile named silver that is associated with the vault named
vault2.
@> lsresourceprofile vault2/silver --detail
@> lsresourceprofile silver --filter vault=vault2 --detail
Parent topic: Resource Profile Management