Gold Allocation Manager

Querying Accounts

To display account information, use the command glsaccount:

glsaccount [-A | -I] [-n account_name] [-p project_name] [-u user_name] [-m machine_name] [-s start_time] [-e end_time] [—exact-match] [—show attribute_name [,attribute_name...]...] [—showHidden] [-l | —long] [-w | —wide] [—raw] [-h | —hours] [—debug] [-? | —help] [—man] [—quiet] [[-a] account_id]

Example 4. Listing all info about all accounts with multi-valued fields displayed in a multi-line format

$ glsaccount —long

Id  Name            Amount        Projects      Users      Machines     Description 
--- --------------- ------------- ------------- ---------- ------------ ----------------
1   Biology         360000000     biology       MEMBERS    blue                 
2   Chemistry       360000000     chemistry     MEMBERS    ANY                  
3   Cornucopia      0             ANY           ANY        ANY                  
4   Not Dave        250000        biology       -dave      -blue

Example 5. Listing all info about all accounts useable by dave

$ glsaccount -u dave —long

Id  Name            Amount        Projects      Users      Machines     Description 
--- --------------- ------------- ------------- ---------- ------------ ---------------- 
2   Chemistry       360000000     chemistry     MEMBERS    ANY                  
3   Cornucopia      0             ANY           ANY        ANY