(Click to open topic with navigation)
Synopsis
greserve [-T <usage_record_type>] [-S <service_id>] [-u <user_name>] [-g <group_name>] [-a <account_name>] [-o <organization_name>] [-c <class_name>] [-Q <quality_of_service>] [-m <machine_name>] [-N <nodes>] [-P <processors>] [-C <cpu_time>] [-M <memory>] [-D <disk>] [-X, --extension <property>=<value>]... [-t <lien_duration> [-G <grace_duration>]] [-s <lien_start_time>] [-e <lien_end_time>] [-d <lien_description>] [-z <lien_amount>] [--modify|--replace] [-R <charge_rate_name>[{<charge_rate_value>}]=<charge_rate_amount>,...]... [-h, --hours] [--itemize] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version] [[-j] <usage_record_id>] [-q <quote_id>] [-J <instance_name>|<job_id>]
Overview
greserve obtains a lien for usage.
Options
| -a | |
|---|---|
| Format | -a <account_name> |
| Default | --- |
| Description |
Specifies the account name. |
| -c | |
|---|---|
| Format | -c <class_name> |
| Default | --- |
| Description |
Specifies the class or queue used. |
| -C | |
|---|---|
| Format | -C <cpu_time> |
| Default | --- |
| Description |
Specifies the estimated CPU time used. |
| -D | |
|---|---|
| Format | -D <disk> |
| Default | --- |
| Description |
Specifies the amount of disk used. |
| -e | |
|---|---|
| Format | -e <lien_end_time> |
| Default | Now |
| Description |
Specifies the end time for the lien in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now. |
| -g | |
|---|---|
| Format | -g <group_name> |
| Default | --- |
| Description |
Specifies the group name. |
| -j | |
|---|---|
| Format | [-j] <usage_record_id> |
| Default | --- |
| Description | Usage record ID for the lien if already created with gmkusage, gquote, or a previous greserve. This places a hold against an existing usage record if the instance name (such as a job ID) is ambiguous or if usage has already been debited and you want to reserve an additional amount associated with the same usage record. |
| -m | |
|---|---|
| Format | -m <machine_name> |
| Default | --- |
| Description |
Specifies the name of the cluster, cloud, or system used. |
| -M | |
|---|---|
| Format | -M <memory> |
| Default | --- |
| Description |
Specifies the amount of memory used.. |
| -N | |
|---|---|
| Format | -N <nodes> |
| Default | --- |
| Description |
Specifies the number of nodes used. |
| -o | |
|---|---|
| Format | -o <organization_name> |
| Default | --- |
| Description |
Specifies the organization name. |
| -P | |
|---|---|
| Format | -P <processors> |
| Default | --- |
| Description |
Specifies the number of processors used. |
| -q | |
|---|---|
| Format | [-q] <quote_id> |
| Default | --- |
| Description |
Specifies the quote used to determine charge rates. |
| -Q | |
|---|---|
| Format | -Q <quality_of_service> |
| Default | --- |
| Description |
Specifies the quality of service used. |
| -S | |
|---|---|
| Format | -S <service_id> |
| Default | --- |
| Description |
Specifies the root service ID (cloud). |
| -T | |
|---|---|
| Format | -T <usage_record_type> |
| Default | --- |
| Description |
Specifies the usage record type, such as job or reservation. |
| -u | |
|---|---|
| Format | -u <user_name> |
| Default | --- |
| Description | Specifies the user name. |
| -X | |
|---|---|
| Format | -X or --extension <property>=<value> |
| Default | --- |
| Description | Specifies an extension property. You can specify any number of extra custom conditions. |
| -z | |
|---|---|
| Format | -z <lien_amount> |
| Default | --- |
| Description | Specifies the lien amount if calculated externally. |
| --debug | |
|---|---|
| Format | --debug |
| Default | --- |
| Description |
Logs debug information to the screen. |
| --help | |
|---|---|
| Format | --help |
| Default | --- |
| Description |
Displays a brief help message. |
| --itemize | |
|---|---|
| Format | --itemize |
| Default | --- |
| Description |
Returns the composite charge information in the response data. You must use this in conjunction with the --verbose flag to display the data. |
| --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 |
Display modified object details. |
| --version | |
|---|---|
| Format | --version |
| Default | --- |
| Description |
Displays the product version. |
Related topics