Moab Accounting Manager > Appendices > Appendix A: Commands Reference > glscharge

glscharge

Synopsis

glscharge [-j <usage_record_id>] [-J <instance_name>] [-n <usage_property_name>] [-s <start_time>] [-e <end_time>] [--full] [--show <attribute_name>,...] [--format <output_type>] [-h, --hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version]

Overview

glscharge displays allocation information.

Options

-e
Format -e <end_time>
Default ---
Description

Displays charges occurring before the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now

-h
Format -h or --hours
Default ---
Description

Displays time-based credits in hours. In cases where the currency is measured in resource-seconds (like processor-seconds), the currency is divided by 3600 to display resource-hours.

-j
Format -j <usage_record_id>
Default ---
Description Displays only charges associated with the specified usage record.
-J
Format -J <instance_name>
Default ---
Description Displays only charges against the specified instance (such as a job ID).
-n
Format -n <usage_record_property_name>
Default ---
Description

Displays only charges against the specified usage property.

-s
Format -s <start_time>
Default ---
Description

Displays charges occurring after the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now

--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--format
Format --format <output_format>
Default standard
Description Specifies a data output format. Valid values include standard and csv.
--full
Format --full
Default ---
Description Displays all attributes.
--help
Format --help
Default ---
Description

Displays a brief help message.

--man
Format --man
Default ---
Description

Displays full documentation.

--quiet
Format --quiet
Default ---
Description

Suppresses headers and success messages.

--show
Format --show <attribute_name>[,<attribute_name>...]
Default ---
Description

Displays only the specified attributes in the order specified. Valid attributes include the following:

  • Amount – Amount charged.

  • CreationTime – Time this charge was created.
  • Deleted – Boolean indicating whether this allocation is deleted or not.
  • Description – Charge description.
  • Details – Details of the formula used in calculating the charge.
  • Duration – Amount of time the item was used in seconds.
  • Instance – Instance name (such as job ID) for the charge.
  • ModificationTime – Time this charge was last modified.
  • Name – Usage record property name (also charge rate name).
  • Rate – Base charge rate.
  • RequestId – ID of the last modifying request.
  • ScalingFactor – Product of all applicable multipliers (discounts and premiums) applied to the base rate.
  • TransactionId – ID of the last modifying transaction.
  • UsageRecord – Usage record ID.
  • Value – Usage record property value.
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing