Billing and Monitoring

If you belong to more than one project, you may direct your CPU time consumption to the desired project by changing your billing project. The billing project indicates the project quota that your compute jobs are currently consuming.

The CSC environment offers the saldo command for monitoring your project's usage of CSC's computing resources.

The unix commands id and groups show the projects you belong to. With the command id your billing project is indicated by gid, for example gid=12345.The command groups shows your billing project as first.

Chaging default billing project

To change the default billing project:

  1. Log in to Scientist's User Interface with your CSC account
  2. Open My Projects (Services -> eService -> My Projects)
  3. Choose the project from the top box that you want to make into to the billing project
  4. Press the Set As Billing Project button
  5. Select Yes in the Confirm window 

The billing project changes on computing servers next time you log in. If you are already logged in, you need to log out and log back in. The billing project you pick changes your default project for all computing servers.

Changing billing project temporarily in computing servers.

To change the billing project temporarily on Taito or Sisu, run the newgrp command on the command line. This command actually changes the primary Linux group. It takes as the argument the name of the group that you want your new primary group to be. Groups and projects are linked with each other.

The newgrp command is best used in combination with the sbatch command (the command that submits batch jobs to computing nodes):

taito-login3:~$ newgrp project_2000084
taito-login3:~$ sbatch
Submitted batch job 10282312
taito-login3:~$ newgrp project_2000251
taito-login3:~$ sbatch
Submitted batch job 10282313

The first job will be charged to the project 2000084 and the second to the project 2000251. You can check the groups you belong to using the command groups or id.