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

gwithdraw

Synopsis

gwithdraw [-f <fund_id>] [-i <allocation_id>] [-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>] [-d <description>] [-h, --hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version] {[-z] <amount>}

Overview

gwithdraw makes a withdrawal from the specified fund.

Options

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

Specifies that the fund for the withdrawal should be usable by the specified account.

-c
Format -c <class_name>
Default ---
Description Specifies that the fund for the withdrawal should be usable by the specified class.
-d
Format -d <description>
Default ---
Description

Specifies the reason for the withdrawal. The annotation applies to the transaction description (seen via glstrans), not the allocation description.

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

Specifies the ID of the fund from whichMAM will make the withdrawal.

-g
Format -g <group_name>
Default ---
Description Specifies that the fund for the withdrawal should be usable by the specified group.
-h
Format -h or --hours
Default ---
Description Specifies that MAM should display time-based credits in hours. In cases where the currency is measured in resource-seconds (like processor-seconds), this option allows the amount to be specified in resource-hours.
-i
Format -i <allocation_id>
Default ---
Description Withdraws credits from the specified allocation ID only. If you omit the allocation, MAM only withdraws credits from active allocations in the order of earliest expiring first.
-m
Format -m <machine_name>
Default ---
Description Specifies that the fund for the withdrawal should be usable by the specified machine
-o
Format -o <organization_name>
Default ---
Description Specifies that the fund for the withdrawal should be usable by the specified organization.
-u
Format -u <user_name>
Default ---
Description Specifies that the fund for the withdrawal should be usable by the specified user.
-z
Format [-z] <amount>
Default ---
Description Specifies the amount to withdraw. You may also specify the amount as the sole argument.
--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

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

Restricts the fund to one where constraints do not conflict with the specified filters. For example, gwithdraw --filter User=amy will restrict the fund to one usable by the user amy. You may specify multiple filter options that are logically ANDed together.

--filter-type
Format --filter-type <filter_type>
Default NonExclusive
Description

Specifies the filtering type. If you use the Exclusive filter type, MAM will only match a fund if the specified filters meet all constraints. If you use the NonExclusive filter type, MAM will match a fund as long as the specified filters do not conflict with the constraints.

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

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