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 resourceprofiles command. 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 created after 9 AM today:

    --filter createTime>9:00:00
  • 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 primarily sort by name in descending order, and use creation time in ascending order to further sort entries with the same name:

    --sort -name,createTime

Examples

Example 6-135 List Resource Profiles

This example lists the resource profiles associated with the vault named vault2.

@> lsresourceprofile --filter vault=vault2

Example 6-136 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-137 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