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

glsfund

Synopsis

glsfund [-A | -I] [-n <fund_name>] [-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>]... [--filter-type <filter_type>] [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [-h,--hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version] [[-f] <fund_id>]

Overview

glsfund displays fund information.

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

Options

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

Displays only funds valid toward the specified account.

-A
Format -A
Default ---
Description

Displays funds with active allocations.

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

Displays only funds usable by the specified class.

-f
Format [-f] <fund_id>
Default ---
Description

Displays only the funds with the specified ID.

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

Displays only funds usable by 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 funds with inactive allocations.
-m
Format -m <machine_name>
Default ---
Description

Displays only funds valid toward the specified machine.

-n
Format -n <fund_name>
Default ---
Description

Displays only funds with the specified name.

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

Displays only funds valid toward the specified organization.

-u
Format -u <user_name>
Default ---
Description Displays only funds valid toward 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 funds where constraints do not conflict with the specified filters. For example, glsfund -f User=amy displays funds usable by the user amy. You may specify 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, MAM only matches a fund if the specified filters meet all constraints. If you use the non-exclusive filter type, MAM will match a fund as long as the specified filters do not conflict with the constraints.

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

  • Allocated – Adjusted allocation. This value stores the effective allocated amount based on the initial deposit and subsequent allocation adjustments via deposits, withdrawals or transfers.
  • Allocations – Lists the active allocations in this fund in the format id:amount:start_time:end_time.
  • Amount – Sum of active allocation amounts within this fund.
  • Children – Lists the children funds in the format id[(deposit_share)][^] where the carat symbol (^) is displayed if Overflow is True.
  • Constraints – Contraints on fund usage.
  • CreationTime – Time this fund was created.
  • CreditLimit – Sum of active credit limits within this fund.
  • DefaultDeposit – Used for the deposit amount if a deposit is made without specifying an amount.
  • Deleted – Boolean indicating whether this fund is deleted or not.
  • Description – Fund description.
  • Id – Fund ID.
  • InitialDeposit – Initial deposit for current allocation.
  • ModificationTime – Time this fund was last modified.
  • Name – Fund name.
  • Parent – Displays the parent fund in the format id[(deposit_share)][^] where the carat symbol (^) is displayed if Overflow is True.
  • Priority – Fund priority.
  • RequestId – ID of the last modifying request.
  • TransactionId – ID of the last modifying transaction.
--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