이 콘텐츠는 선택한 언어로 제공되지 않습니다.
8.7.2. Viewing Accumulated Usage Data
Use the
oo-admin-usage
or oo-admin-ctl-usage
command to view resource usage reports per user. Usage reports include how long a user has been using a gear and any additional storage. Red Hat
recommends using the oo-admin-usage
command for listing a single user's usage data, because it contains more detailed information. Use the oo-admin-ctl-usage
command to list all users' basic usage data at one time.
On the broker host, view resource usage per user with the following command, replacing username with the desired value:
oo-admin-usage -l username
# oo-admin-usage -l username oo-admin-usage -l username
Example 8.6. Viewing a User's Resource Usage
The following table provides more information on the output of this command.
Field | Description |
---|---|
Usage Type |
GEAR_USAGE is related to how long a gear has been in use with the gear size in parentheses.
ADDTL_FS_GB is related to how long additional storage has been in use on a gear with the number of GBs in parentheses.
|
Gear ID | Gear ID indicates the UUID of the relevant gear with the associated application name in parentheses. |
Duration | Duration indicates the start and end time of the gear (or start time and PRESENT if still in use). |
On the broker host, view resource usage for all users with:
oo-admin-ctl-usage --list
# oo-admin-ctl-usage --list
Example 8.7. Viewing Resource Usage for All Users
The following table provides more information on the output of this command.
Field | Description |
---|---|
User | User names the user accumulating the resource usage. |
Gear | Gear indicates the UUID of the relevant gear. |
UsageType |
GEAR_USAGE is related to how long a gear has been in use.
ADDTL_FS_GB is related to how long additional storage has been in use on a gear.
|
Usage | Usage lists the duration of the gear (in hours). |