6.2.4.6 lsuser

List user information.

Purpose

The lsuser command displays information about Exascale users.

Syntax

lsuser [ user-ID ] [ --attributes attribute[,attribute]... ] 
       [ --filter filter[,filter]... ] 
       [ --sort [-]attribute[,[-]attribute]... ] 
       [ --count value ]
       [ --detail ] [ -l ]

Command Options

The options for the lsuser command are:

  • user-ID: Identifies the user that you want to list information about. If no user is identified, the command displays information about all users.

  • --attributes: Identifies specific attributes to display in the output.

    You can use this option to focus on a subset of attributes as an alternative to the --detail option.

  • --filter: Specifies conditions for including items in the output.

  • --sort: Sorts the output using the specified attributes.

  • --count: Specifies the maximum number of items to display in the output.

  • --detail: Displays detailed output with additional attributes.

  • -l: Displays output in a long, tabular format.

Usage Notes

Note the following information when using this command:

  • The --filter, --sort, and --count options are available starting with Oracle Exadata System Software release 26.1.0.

  • Filter conditions are specified as: <attribute><operator><value>.

    The allowed operators are =, !=, >=, <=, >, and <.

    Multiple comma-separated filter conditions are combined using AND logic.

    Dates can be specified using the following formats:

    • yyyy-MM-dd''T''HH:mm:ss
    • yyyy-MM-dd (Time is assumed to be 00:00 AM)
    • HH:mm:ss (Date is assumed to be today)

    A date can also be followed by a timezone specification.

    Sizes can be specified using suffixes K, KB, M, MB, G, GB, T, TB. The suffix is not case-sensitive.

  • 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 otherAttribute in ascending order to further sort entries with the same name:

    --sort -name,otherAttribute

Examples

Example 6-44 List Information for a Specific User

The following example shows how to list detailed information about the user ID: SCOTT0123.

@> lsuser SCOTT0123 --detail