Generating Accounting Statistics

Searching Sun Grid Engine 6.2

Sun Grid Engine Information Center
Administering Sun Grid Engine
Index


Generating Accounting Statistics (qacct)

You can use the qacct command to generate alphanumeric accounting statistics. If you specify no options, qacct displays the aggregate usage on all machines of the cluster, as generated by all jobs that have finished and that are contained in the cluster accounting file $SGE_ROOT/$SGE_CELL/common/accounting. In this case, qacct reports three times, in seconds:

  • Real time – Wall clock time, which is the time between when the job starts and when it finishes
  • User time – CPU time spent in user processes
  • System time – CPU time spent in system calls

Several options are available for reporting accounting information about queues, users, and the like. In particular, you can use the qacct -l command to request information about all jobs that have finished and that match a resource requirement specification.

Use the command qacct -j [job-id | job-name] to get direct access to the complete resource usage information stored by the Grid Engine system. This information includes the information that is provided by the getrusage system call.

The -j option reports the resource usage entry for the jobs with job-id or with job-name. If no argument is given, all jobs contained in the referenced accounting file are displayed. If a job ID is specified, and if more than one entry is displayed, one of the following is true:

  • Job ID numbers have wrapped around. The range for job IDs is 1 through 999999.
  • A checkpointing job that migrated is displayed.

See the qacct(1) man page for more information.


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact