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

gmkfund

Synopsis

gmkfund [-n <fund_name>] [--priority <fund_priority>] [--default-deposit <deposit_amount>] [-d <description>] [-X, --extension <property>=<value>]... [-u <user_name>,...]... [-g <group_name>,...]... [-a <account_name>,...]... [-o <organization_name>,...]... [-c <class_name>,...]... [-m <machine_name>,...]... [--constraint <constraint_name>=[!]<constraint_value>,...]... [--parent <parent_fund_id>] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version]

Overview

glsfund creates new funds. MAM automatically generates a new ID for the fund. It essentially creates a new container into which time-bounded credits valid toward a specific set of constraints can be later credited and debited.

Options

-a
Format -a <account_name>[,<account_name>...]
Default ---
Description

Specifies the account required by the fund. You may pass multiple accounts to the -a option in a comma-delimited list or by specifying multiple -a options may be specified.

-c
Format -c <class_name>[,<class_name>...]
Default ---
Description

Specifies the class or queue required by the fund. You may pass multiple classes may be passed to the -c option in a comma-delimited list or by specifying multiple -c options.

-d
Format -d <description>
Default ---
Description

Specifies a fund description.

-g
Format -g <group_name>[,<group_name>...]
Default ---
Description

Specifies the group required by the fund. You can pass multiple groups to the -g option in a comma-delimited list or by specifying multiple -g options.

-m
Format -m <machine_name>[,<machine_name>...]
Default ---
Description

Specifies the machine (cluster or cloud) the fund requires. You may pass multiple machines to the -m option in a comma-delimited list or by specifying multiple -m options .

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

Specifies the fund name.

-o
Format -o <organization_name>[,<organization_name>...]
Default ---
Description

Specifies the organization the fund requiresd. You may pass multiple organizations may be passed to the -o option in a comma-delimited list or by specifying multiple -o options.

-u
Format -u <user_name>[,<user_name>...]
Default ---
Description

Specifies the user required by the fund. You may pass mulltiple users may be passed to the -u option in a comma-delimited list or by specifying multiple -u options.

-X, --extension
Format -X or --extension <property>=<value>
Default ---
Description Specifies an extension property. You can specify any number of extra custom conditions.
--constraint
Format --constraint <constraint_name>=<constraint_value>[,<constraint_name>=<constraint_value>...]
Default ---
Description

Specifies a constraint for the fund. The constraint value may be a perl5 regular expression. You may prepend an exclamation point to the constraint value to express a negation of the constraint. You may specify multiple constraint options. For example, --constraint User=amy --constraint Machine=colony will make the credits in this fund valid only for the user amy on the machine colony. You m ay pass multiple constraints to the --constraint option in a comma-delimited list or specify multiple --constraint.

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

Logs debug information to the screen.

--default-deposit
Format --default-deposit <default_amount>
Default ---
Description

Sets the default amount for any deposit that is made to this fund that does not specify a deposit amount.

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

--parent
Format --parent <parent_fund_id>
Default ---
Description

Associates the newly created fund as a child of the specified parent fund.

--priority
Format --priority <fund_priority>
Default ---
Description

Specifies the fund priority.

--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--verbose
Format --verbose
Default ---
Description

Displays modified object details.

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

Displays the product version.

Related topics

© 2014 Adaptive Computing