Gold Allocation Manager

Querying Reservations

To display reservation information, use the command glsres:

glsres [-A | -I] [-n reservation_name | job_id_pattern] [-p project_name] [-u user_name] [-m machine_name] [—show attribute_name [,attribute_name...]...] [—showHidden] [-l | —long] [-w | —wide] [—raw] [-h | —hours] [—debug] [-? | —help] [—man] [—quiet] [[-r] reservation_id]

Example 1. Listing all info about all reservations for bob

$ glsres -u bob

Id  Name                        Amount    StartTime                    EndTime                      Job  User   Project       Machine    Accounts Description 
--- --------------------------- --------- ---------------------------- ---------------------------- ---- ------ ------------- ---------- ------------ ---------------- 
1   Interactive.789654          3600      2005-01-13 16:48:15          2005-01-13 17:48:15          1    bob    chemistry     blue       1

Example 2. Listing all info about all reservations that impinge against amy's balance

$ glsres -u amy —option name=UseRules value=True

Id  Name                        Amount    StartTime                    EndTime                      Job  User   Project       Machine    Accounts Description 
--- --------------------------- --------- ---------------------------- ---------------------------- ---- ------ ------------- ---------- ------------ ---------------- 
1   Interactive.789654          3600      2005-01-13 16:48:15          2005-01-13 17:48:15          1    bob    chemistry     blue       1
2   PBS.1234.0                  7200      2005-01-13 17:59:09          2005-01-14 02:28:41          2    amy    chemistry     colony     2