Ouessant : Hours consumption monitoring and the cpt command

In order to facilitate the monitoring of calculation hours consumption on the supercomputers, IDRIS has developed the cpt command. With this command, you can know the number of hours DARI attributed to your project as well as the number of hours consumed on the machine from which the command is executed.

Note : The information provided by the cpt command is updated only once per day at about 6:30 a.m. Hours consumed during the day are not included in the report until the next morning (i.e. the hours consumption status is not updated throughout the day). Here is an example of the cpt command output:

$ cpt
Derniere mise a jour le 25/04/2017 06:38
                                                                                                                                                                                
################################################################################                                                                                               
                           PROJET 91605 SUR OUESSANT                                                                                                                           
################################################################################     

================================================================================
 DARI                                                 Heures attribuees : 50000
================================================================================

  Compte   Proprietaire                    Consommation Nb travaux Remboursement
  -------- ------------------------------ ------------- ---------- -------------
  login1   NOM1_Prenom1                         5723.88          9             -
  login2   NOM2_Prenom2                               -          -             -
  -------- ------------------------------ ------------- ---------- -------------
                                   Totaux       5723.88          9          0.00
                              Utilisation        11.45%           

Interpretation of the command output:

  1. The first line indicates the date (day/month/year) and the time (hour:minutes) when the given information was last updated:
    Dernière mise a jour le 25/04/2017 06:38
  2. The second line indicates the project number (here, 91605) and the concerned machine (here, Ouessant) :
                               PROJET 91605 SUR OUESSANT   
  3. This is followed by information relative to the DARI attribution :
    ================================================================================
     DARI                                                 Heures attribuees : 50000
    ================================================================================
    
      Compte   Proprietaire                    Consommation Nb travaux Remboursement
      -------- ------------------------------ ------------- ---------- -------------
      login1   NOM1_Prenom1                         5723.88          9             -
      login2   NOM2_Prenom2                               -          -             -
      -------- ------------------------------ ------------- ---------- -------------
                                       Totaux       5723.88          9          0.00
                                  Utilisation        11.45%           
    1. The number of hours attributed to the project (here, 50000h). Note that this value can change over time if the project either loses hours in an hours regulation procedure or more hours are attributed to the project.
    2. The number of consumed hours and the number of executed jobs for each login belonging to the project (here, only login1 consumed hours).
    3. The total number of consumed hours (here, 5723.88h) by all the logins of the project together and the percentage of the total attribution that this represents (here, 11.45%).

The cpt command has the following options:

  1. To obtain help with the command, use option -h : cpt -h
  2. To display the DARI accounting of the project: cpt -a DARI
    Derniere mise a jour le 25/04/2017 06:38
    
    ################################################################################                                                                                               
                               PROJET 91605 SUR OUESSANT                                                                                                                           
    ################################################################################     
    
    
    ================================================================================
     DARI                                                 Heures attribuées : 50000
    ================================================================================
    
      Compte   Propriétaire                    Consommation Nb travaux Remboursement
      -------- ------------------------------ ------------- ---------- -------------
      login1   NOM1_Prenom1                         5723.88          9             -
      login2   NOM2_Prenom2                               -          -             -
      -------- ------------------------------ ------------- ---------- -------------
                                       Totaux       5723.88          9          0.00
                                  Utilisation        11.45%           
  3. To display a summary of the consumption: cpt -s
    Dernière mise a jour le 25/04/2017 06:38
    
    ################################################################################                                                                                               
                               PROJET 91605 SUR OUESSANT                                                                                                                           
    ################################################################################     
    
    
    Compta.           Heures  Consommation  NbTravaux Remboursement Utilise
    ---------- ------------- ------------- ---------- ------------- -------
    DARI               50000       5723.88          9          0.00  11.45%