IBM Books

IBM LoadLeveler for AIX 5L: Using and Administering

Step 9: Define job accounting

LoadLeveler provides accounting information on completed LoadLeveler jobs. For detailed information on this function, refer to Gathering job accounting data.

The following keywords allow you to control accounting functions:

ACCT = flag
The available flags are:

A_ON
Turns accounting data recording on. If specified without the A_DETAIL flag, the following is recorded:
  • The total amount of CPU time consumed by the entire job
  • The maximum memory consumption of all tasks (or nodes).

A_OFF
Turns accounting data recording off. This is the default.

A_VALIDATE
Turns account validation on.

A_DETAIL
Enables extended accounting. Using this flag causes LoadLeveler to record detail resource consumption by machine and by events for each job step. This flag also enables the -x flag of the llq command, permitting users to view resource consumption for active jobs.

For example:

ACCT = A_ON A_DETAIL

This example specifies that accounting should be turned on and that extended accounting data should be collected and that the -x flag of the llq command be enabled.

ACCT_VALIDATION = $(BIN)/llacctval (optional)
Keyword used to identify the executable that is called to perform account validation. You can replace the llacctval executable with your own validation program by specifying your program in this keyword.

GLOBAL_HISTORY = $(SPOOL) (optional)
Keyword used to identify the directory that will contain the global history files produced by llacctmrg command when no directory is specified as a command argument.

HISTORY_PERMISSION = permissions | rw-rw----
Permissions value of this keyword specifies the owner, group, and world permissions of the history file associated with a LoadL_schedd daemon. It must be a string with a length of nine characters and consisting of the characters, r, w, x, or -. The default is rw-rw----. LoadL_schedd will use the default setting if the specified permission are less than rw-------.

For example, the following section of the configuration file specifies that the accounting function is turned on. It also identifies the module used to perform account validation and the directory containing the global history files:

ACCT                = A_ON A_VALIDATE
ACCT_VALIDATION     = $(BIN)/llacctval
GLOBAL_HISTORY      = $(SPOOL)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]