7.2. Querying Projects

To display project information, use the command glsproject:

glsproject [-A | -I] [—show attribute_name [,attribute_name...]...] [—showHidden] [—showSpecial] [-l | —long] [-w | —wide] [—raw] [—debug] [-? | —help] [—man] [—quiet] [[-p] project_pattern]

Example 7-3. Listing all info about all projects

$ glsproject

Name      Active Users        Machines Description          
------------- --------- ------------------ ------------ ------------------------------ 
biology   True   amy,bob      colony   Biology Department   
chemistry True   amy,dave,bob          Chemistry Department 
        

Example 7-4. Displaying the name and user members of a project in long format

$ glsproject —show Name,Users -l chemistry

Name      Users 
------------- ------- 
chemistry bob   
          dave  
          amy   
        

Example 7-5. Listing all project names

$ glsproject —show Name —quiet

biology
chemistry