Accounting

Sometimes it is useful to know about the resources you have utilized. This can be done through the qacct command:

mozes@loki ~ $ qacct -o $USER
OWNER     WALLCLOCK         UTIME         STIME           CPU             MEMORY                 IO                IOW
======================================================================================================================
mozes         21856     11525.840       572.390     14276.910          32520.257              0.000              0.000

It may be more useful if you specify a timelimit for this query, for example the last day (-d 1):

mozes@loki ~ $ qacct -o $USER -d 1
OWNER     WALLCLOCK         UTIME         STIME           CPU             MEMORY                 IO                IOW
======================================================================================================================
mozes          3832      2962.040       145.480      3234.560           7785.764              0.000              0.000

If you work with a group of people on Beocat, and need to account for everyone's time: NOTE This only works if you have a group setup in Beocat.

mozes@loki ~ $ qacct -P `qconf -suser $USER | grep default_project | awk '{ print $2 }'`
PROJECT     WALLCLOCK         UTIME         STIME           CPU             MEMORY                 IO                IOW
========================================================================================================================
CIS             12917      7656.330       360.300      9121.270          20576.334              0.000              0.000