Gold Allocation Manager

Obtaining an Account Statement

To generate an account statement, use the command gstatement. For a specified time frame it displays the beginning and ending balances as well as the total credits and debits to the account over that period. This is followed by an itemized report of the debits and credits. Summaries of the debits and credits will be displayed instead of the itemized report if the —summarize option is specified. If a project, user or machine is specified instead of an account, then the statement will consist of information merged from all accounts valid toward the specified entities.

gstatement [[-a] account_id] [-p project_name] [-u user_name] [-m machine_name] [-s start_time] [-e end_time] [—summarize] [-h | —hours] [—debug] [-? | —help] [—man]

Example 19. Generating an account statement for the third quarter of 2006

$ gstatement -a 2 -s 2006-07-01 -e 2006-10-01

################################################################################
#
# Statement for account 2 (chemistry) generated on Tue Aug  3 16:06:15 2005.
#
# Reporting account activity from -infinity to now.
#
################################################################################

Beginning Balance:          0
--------------------------- ------------------------------
Total Credits:              360019744
Total Debits:               -19744
--------------------------- ------------------------------
Ending Balance:             360000000

############################### Credit Detail ##################################

Object     Action     JobId           Amount        Time
---------- ---------- --------------- ------------- ---------------------------------
Account    Deposit                    360000000     2005-08-03 16:01:15-07
Job        Refund     PBS.1234.0      19744         2005-08-03 16:04:02-07

############################### Debit Detail ###################################

Object          Action          JobId           Project       User   Machine    Amount    Time                
--------------- --------------- --------------- ------------- ------ ---------- --------- ---------------------------- 
Job             Charge          PBS.1234.0      chemistry     amy    colony     -19744    2005-08-03 16:03:39-07


############################### End of Report ##################################