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

glstrans

Synopsis

glstrans [-O <object>] [-A <action>] [-k <primary_key_value>] [-U <actor>] [-f <fund_id>] [-i <allocation_id>] [-u <user_name>] [-a <account_name>] [-m <machine_name>] [-j <usage_record_id>] [-J <instance_name>|<job_id>] [-s <start_time>] [-e <end_time>] [-T <transaction_id>] [-R <request_id>] [--filter <filter_name>=<filter_value>] [-X, --extension <property>=<value>]... [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [-h,--hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version]

Overview

glstrans displays transaction information.

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

Options

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

Displays only transactions involving the specified account.

-A
Format -A <action>
Default ---
Description

Displays only transactions invoking the specified action.

-e
Format -e <end_time>
Default ---
Description

Displays transactions occurring before the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now

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

Displays only transactions involving the specified fund.

-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 <allocation_id>
Default ---
Description

Displays only transactions logged against the specific allocation.

-j
Format -j <usage_record_id>
Default ---
Description

Displays only transactions affecting the given usage record.

-J
Format -J <instance_name|job_id>
Default ---
Description

Displays only transactions affiliated with the given instance name or job ID.

-k
Format -k <primary_key_value>
Default ---
Description

Displays only transactions involving the objects having the specified primary key value (i.e. having the specified Id or Name) or associations with the given parent name.

-m
Format -m <machine_name>
Default ---
Description

Displays only transactions involving the specified machine.

-O
Format -O <object>
Default ---
Description

Displays only transactions performing actions on the given object type.

-R
Format -R <request_id>
Default ---
Description

Displays only transactions with the specified request ID. A unique request ID is associated with each request, while each request may be associated with more than one transaction.

-s
Format -s <start_time>
Default ---
Description

Displays transactions occurring after the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now

-T
Format -T <transaction_id>
Default ---
Description

Displays only transactions with the specified transaction ID. A transaction occurs when an action is invoked on an object. A complex request may involve multiple transactions.

-u
Format -u <user_name>
Default ---
Description Displays only transaction involving the specified user.
-U
Format -U <actor>
Default ---
Description Displays only transactions invoked by 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.

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

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

  • Action – Action name.
  • Actor – User that performed the action.
  • Allocation – Allocation ID associated with the transaction.
  • Amount – Amount.
  • Child – If the transaction object is an association, this is the value of the child.
  • Count – Number of objects affected by the transaction.
  • CreationTime – Time this transaction was created.
  • Deleted – Boolean indicating whether this transaction is deleted or not.
  • Delta – Effective change (positive or negative) to the balance of an allocation.
  • Description – Transaction description.
  • Details – Additional assignments, conditions, options, and other details of the transaction are recorded here when there is no applicable transaction property to store them in.
  • Duration – Expected duration of the transaction in seconds.
  • Fund – Fund ID associated with the transaction.
  • Id – Transaction ID.
  • Instance – Instance name.
  • Key – If the transaction object is an association, this is the value of the parent, otherwise this is the value of the primary key (ID or name) of the object.
  • Machine – Machine name associated with the transaction.
  • ModificationTime – Time this transaction was last modified.
  • Object – Object name.
  • Account – Account name associated with the transaction.
  • RequestId – ID of the last modifying request.
  • TransactionId – ID of the last modifying transaction.
  • UsageRecord – ID of the usage record associated with the transaction.
  • User – User name associated with the transaction.
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing