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

gbalance

Synopsis

gbalance [-u <user_name>] [-g <group_name>] [-a <account_name>] [-o <organization_name>] [-c <class_name>] [-m <machine_name>] [--filter <filter_name>=<filter_value>]... [--filter-type <filter_type>] [--ignore-ancestors] [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [-h, --hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version]

Overview

gbalance displays balance information.

Options

-a
Format -a <account_name>
Default ---
Description Displays the balance available to the specified account.
-c
Format -c <class_name>
Default ---
Description Displays the balance available to the specified class.
-g
Format -g <group_name>
Default ---
Description Displays the balance available to the specified group.
-h, --hours
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.

-m
Format -m <machine_name>
Default ---
Description Display the s balance available to the specified machine.
-o
Format -o <organization_name>
Default ---
Description Displays the balance available to the specified organization.
-u
Format -u <user_name>
Default ---
Description Displays the balance available to the specified user.
--debug
Format --debug
Default ---
Description

Logs debugging information to the screen.

--filter
Format --filter <filter_name>=<filter_value>
Default ---
Description Displays the balance for funds where constraints do not conflict with the specified filters. You can use multiple filter options by logically ANDing them together.
--filter-type
Format --filter-type <filter_type>
Default NonExclusive
Description Selects the filtering type. If you use the exclusive filter type, a fund will only be matched if the specified filters meet all constraints. If you use the non-exclusive filter type, a fund will be matched as long as the specified filters do not conflict with the constraints.
--format
Format --format <output_type>
Default standard
Description

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.

--ignore-ancestors
Format --ignore-ancestors
Default ---
Description Does not include hierarchical ancestor funds in the result.
--long
Format --long
Default ---
Description

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

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

Displays the 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:

  • Allocated – Adjusted allocation. This value stores the effective allocated amount based on the initial deposit and subsequent allocation adjustments via deposits, withdrawals or transfers.

  • Amount – Sum of active allocation amounts remaining within this fund. It does not take into account current liens.

  • Available – Total amount currently available for charging (Amount - Reserved + CreditLimit)

  • Balance – Allocation total not blocked by liens (Amount - Reserved)
  • Capacity – Total expendable amount (Allocated + CreditLimit)
  • Constraints – Contraints on fund usage
  • CreationTime – Time this fund was created
  • CreditLimit – Sum of active credit limits within this fund
  • Deleted – Boolean indicating whether this fund is deleted or not
  • Description – Fund description
  • Id – Fund id
  • ModificationTime – Time this fund was last modified
  • Name – Fund name
  • PercentRemaining – Percentage of allocation remaining (Amount * 100 / Capacity)
  • PercentUsed – Percentage of allocation used (Used * 100 / Capacity)
  • RequestId – Id of the last modifying request
  • Reserved – Sum of active lien amounts against this fund
  • TransactionId – Id of the last modifying transaction
  • Used – Total amount used from this allocation (Allocated - Amount)
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--wide
Format --wide
Default ---
Description

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

--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing