.. include:: system.rst .. _accounting: Accounting ========== This document explains how to obtain information about the accounting mode and the current quota-test status. Job accounting is done via a central database in JSC and the information about |SYSTEM_NAME| jobs will be completed once a day around midnight, based on information obtained from Slurm database. Users can query information about their current quota status or the usage of single jobs by using the command:: jutil user cpuquota [flags] [options] which retrieves the information from the database. .. _accountingi_mode: Accounting Mode --------------- - Users are charged for wall-clock time, i.e. for the time the nodes are occupied. - Applications are charged for complete nodes, regardless of the number of CPUs used. - If the CPU quota is used up, the jobs will automatically get a lower priority, and will start only if no other jobs are waiting. In case new quota is assigned, jobs submitted from this time on automatically get higher priority again, but jobs already queued have to be resubmitted to obtain normal priority again. - Quota bigger than a certain limit is granted on a monthly basis, jobs can be scheduled with normal priority until three monthly quotas (current, previous and next month) are exhausted. - Users will be informed by mail, if they run out of cpu quota or if new quota is assigned. .. _accounting_command: Command description ------------------- .. table:: :align: left +-----------------------------------------+-------------------------------------------+ | Command | Description | +=========================================+===========================================+ | *jutil user cpuquota [flags] [options]* | Show values of granted and used CPU quota | +-----------------------------------------+-------------------------------------------+ **available flags:** .. table:: :align: left +-------------------+----------------------------------------------+ | *-a, -\-all* | Query all entries | +-------------------+----------------------------------------------+ | *-Z, -\-currsys* | Query cpuquota only for current/local system | +-------------------+----------------------------------------------+ | *-h, -\-help* | Prints help information | +-------------------+----------------------------------------------+ | *-n, -\-noheader* | Do not print output header | +-------------------+----------------------------------------------+ | *-v* | Increase output verbosity | +-------------------+----------------------------------------------+ | *-V, -\-version* | Prints version information | +-------------------+----------------------------------------------+ **available options:** .. table:: :align: left +--------------------------------+------------------------------------------------------------------------+ | *-A, -\-budget * | Filter results with given budget account ID | +--------------------------------+------------------------------------------------------------------------+ | *-c, -\-contpart * | Filter results with given contingent partition | +--------------------------------+------------------------------------------------------------------------+ | *-o, -\-format * | | Output format. Can be retrieved from env var *JUTIL_OUTPUT_FORMAT* | | | | **default**: rows, **possible values**: rows, columns,parsable, json | +--------------------------------+------------------------------------------------------------------------+ | *-p, -\-project * | Specify project | +--------------------------------+------------------------------------------------------------------------+ | *-s, -\-system * | Query cpuquota only for given system | +--------------------------------+------------------------------------------------------------------------+ | *-u, -\-username * | Specify user name | +--------------------------------+------------------------------------------------------------------------+