(Click to open topic with navigation)
To display balance information, use the command gbalance:
gbalance [-u user_name] [-g group_name] [-a account_name] [-o organization_name] [-c class_name] [-m machine_name] [--filter filter_name=filter_value]... [--filterType Exclusive|NonExclusive] [--ignore-ancestors] [--full] [--show attribute_name,...] [--long] [--wide] [--format csv|standard] [-h, --hours] [--debug] [--site site_name] [--help] [--man] [--quiet] [--version]
Example 6-15: Querying amy's balance
$ gbalance -u amy
Id Name Available Allocated PercentUsed
--- -------- ---------- ---------- -----------
13 biology 2785.87 5000.00 44.28
2 chemistry 1785.87 3000.00 40.47
Example 6-16: List the available balances that amy can charge against along with the constraints on those balances
$ gbalance -u amy —show Balance,Constraints
Balance Constraints
------------- -------------
25000000 Account=biology
34802392 Account=chemistry,User=amy
0 Machine=colony,Account=film
Related topics