Skip to content
Cody Kankel edited this page Dec 6, 2016 · 9 revisions

##node_search##

  • node_search.py allows a user, while on the CRC's front end(or your own if you cloned it) to view information otherwise not easily obtained/ugly.

  • Some examples are (Not every use is displayed, check man page):


./node_search.py -l (displays information on the general_access Long Queue)

general_access                                                                  
--------------------------------------------------------------------------------
Total Cores:                            2832                                    
Used Cores:                             2792                                    
Free Cores:                             40                                      
Disabled Cores:                         312                                     

Total Nodes:                            262                                     
Used Nodes:                             260                                     
Disabled Nodes:                         26                                      
Empty Nodes:                            2

./node_search.py -d (displays information on the Debug Queue)

debug                                                                           
--------------------------------------------------------------------------------
Total Cores:                            224                                     
Used Cores:                             16                                      
Free Cores:                             208                                     
Disabled Cores:                         16                                      

Total Nodes:                            30                                      
Used Nodes:                             4                                       
Disabled Nodes:                         2                                       
Empty Nodes:                            26  

./node_search.py -u johndoe33 (displays information on John Doe)

Job information for JohnDoe33.

Node name                                         Used Cores  Total Cores       
--------------------------------------------------------------------------------
[email protected]                                32  32                  
    Job ID              Job Name            Num Cores           MAX Memory Used 
    55555                  JobName                32                  67.123G             
User Jobs on node: 1

Node name                                         Used Cores  Total Cores       
--------------------------------------------------------------------------------
[email protected]                                32  32                  
    Job ID              Job Name            Num Cores           MAX Memory Used
    55556                  JobName                32                  64.121G             
User Jobs on node: 1
----
JohnDoe33's Total Running Jobs: 5
       
################################################################################
                              JohnDoe33's pending jobs:                               
################################################################################
    555557 0.57631 JobName   JohnDoe33          qw    12/02/2016 22:08:29    32       

./node_search.py -uf JohnDoe33 (Show which host groups JohnDoe33 has access to)

Host-group info pertaining to JohnDoe33:
--------------------------------------------------------------------------------
User belongs to the following user-lists:
@DoeHostGroup

User has access to the following host-groups:
@DoeHostGroup
@dqcneh
@general_access
--------------------------------------------------------------------------------

./node_search.py -d -v (Visually represent the Debug Queue)

                                            debug Queue                                             
----------------------------------------------------------------------------------------------------
Total Cores:                                      224                                               
Used Cores:                                       16                                                
Free Cores:                                       208                                               
Disabled Cores:                                   16                                                
Total Nodes:                                      30                                                
----------------------------------------------------------------------------------------------------
                     [0] = Open Core    [~] = Used Core    [#] = Disabled Core                      

[O][O][O][O][O][O][O][O][~][~][~][~][~][~][~][~][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][~][~][~][~][~][~][~][~][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O][O]
[O][O][O][O][O][O][O][O][O][O][O][O][O][O][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#]

----------------------------------------------------------------------------------------------------
Clone this wiki locally