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

glsquote

Synopsis

glsquote [-J <instance_name>] [-A|-I] [-X, --extension <property>=<value>]... [-u <user_name>] [-g <group_name>] [-a <account_name>] [-o <organization_name>] [-c <class_name>] [-m <machine_name>] [--filter <filter_name>=<filter_value>] [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [-h,--hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version] [[-q] <quote_id>]

Overview

glsquote displays quote information.

You can customize the fields this command displays by default by setting the quote.show configuration parameter in gold.conf.

Options

-a
Format -a <account_name>
Default ---
Description

Displays only quotes for the specified account.

-A
Format -A
Default ---
Description

Displays only unexpired quotes.

-c
Format -c <class_name>
Default ---
Description

Displays only quotes for the specified class.

-g
Format -g <group_name>
Default ---
Description

Displays only quotes for the specified group.

-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.

-I
Format -I
Default ---
Description Displays only expired quotes.
-J
Format -J <instance_name>
Default ---
Description Displays only quotes with the specified instance name or job ID.
-m
Format -m <machine_name>
Default ---
Description

Displays only quotes for the specified machine.

-o
Format -o <organization_name>
Default ---
Description

Displays only quotes for the specified organization.

-q
Format [-q] <quote_id>
Default ---
Description

Displays only information for the specified quote.

-u
Format -u <user_name>
Default ---
Description Displays only quotes for the specified user.
-X
Format -X or --extension <property>=<value>
Default ---
Description Specifies an extension property. You can specify any number of extra custom conditions.
--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--filter
Format --filter <filter_name>=<filter_value>
Default ---
Description

Displays quotes where constraints do not conflict with the specified filters. For example, glsquote --filter User=amy will display funds usable by the user amy. You may specify multiple filter options by logically ANDing them together.

--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.

--long
Format --long
Default ---
Description

Long format. Displays multi-valued fields in a multi-line format.

--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 – Quoted amount.
  • ChargeRate – Saved charge rates to be used when the quote is referenced. These are displayed in the format <charge_rate_name>[{<charge_rate_value>}]=<charge_rate_amount>
  • CreationTime – Time this quote was created.
  • Deleted – Boolean indicating whether this quote is deleted or not.
  • Description – Quote description.
  • Duration – Expected duration of the quoted usage in seconds.
  • EndTime – Time the quote becomes inactive.
  • Id – Quote ID.
  • Instance – The quote may only be used by the specified instance.
  • ModificationTime – Time this quote was last modified.
  • Pinned – Boolean indicating whether the quote is pinned or not.
  • RequestId – ID of the last modifying request.
  • StartTime – Time the quote becomes active.
  • TransactionId – ID of the last modifying transaction.
  • UsageRecord – ID of the usage record associated with the quote and containing the usage properties.
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--version
Format --version
Default ---
Description

Displays the product version.

--wide
Format --wide
Default ---
Description

Wide format. Displays multi-valued fields in a single-line comma-separated format.

Related topics

© 2014 Adaptive Computing