userquota list

Prev Next

This command lists user and group quota rules and accounting for a directory quota.

Usage

userquota list {--quota-id ID|--quita-group-id ID}
               {--user-rules|--group-rules|--user-accounting|--group-accounting}
               [--page-size SIZE]
               [--page NUMBER]

Required Parameters

--quota-id ID

The ID of the directory quota for which to list user and group quota rules.

--quota-group-id ID

The ID of the quota group for which to list user and group quota rules.

--user-rules

Displays all user quota rules configured for the specified directory quota.

--group-rules

Displays all group quota rules configured for the specified directory quota.

--user-accounting

Queries users that own files in the directory and displays their usage details.

--group-accounting

Queries groups that own files in the directory and displays their usage details.

Options

--page-size SIZE

Sets the maximum number of entries to display on a page of output.

--page NUMBER

Displays the page by its page number. This option requires that the page size is set. By default, page 1 is displayed.

Example

vcli: admin> userquota list --quota-id 15 --user-rules
+-------+-------------------+------------+-----------------+-------------------+-------------------+--------------+
| Id    | Entity-identifier | Soft-limit | Hard-limit      | Soft-limit-inodes | Hard-limit-inodes | Grace-period |
+-------+-------------------+------------+-----------------+-------------------+-------------------+--------------+
| 1212  | Lindy             | None       | 54975581388800  | None              | 4000000           | None         |
| 21260 | SAYAN             | None       | 54975581388800  | None              | 5000000           | None         |
| 23927 | 20436             | None       | 109951162777600 | None              | 100000000         | None         |
| 24067 | 198478            | None       | 274877906944000 | None              | 8000000           | None         |
+-------+-------------------+------------+-----------------+-------------------+-------------------+--------------+
vcli: admin> userquota list --quota-id 28 --user-accounting
+-----+-------------------+-------+---------------+-------------+---------------+
| Id  | Entity-identifier | State | Used-capacity | Used-inodes | Time-to-block |
+-----+-------------------+-------+---------------+-------------+---------------+
| 495 | root              | OK    | 1072523378688 | 107         | None          |
| 591 | Mean              | OK    | 0             | 1           | None          |
| 493 | Kolly Pan         | OK    | 0             | 1           | None          |
+-----+-------------------+-------+---------------+-------------+---------------+