3.2.1 Configuration

-k option

It indicates the key fields separated by ‘,’. The following fields can be specified:

  • DID: Indicates the Tuxedo Domain ID of the server process.
  • LMID: Indicates the LMID of the server process.
  • GRPID: Indicates the Tuxedo Group ID of the server process.
  • GRPNAME: Indicates the Tuxedo Group name of the server process.
  • SID: Indicates the Tuxedo Server ID of the server process.
  • PID: Indicates the process ID of the Tuxedo server process.
  • PNAME: Indicates the process name of the Tuxedo server process.
  • SVC: Indicates the name of the service being invoked.
  • GID: Indicates the Tuxedo user group invoking the service.
  • UID: Indicates the ID of the Tuxedo user invoking the service.
  • CLIENT: Indicates the Tuxedo client invoking the service.

If this option is not specified, the SVC field is specified by default. If a field is specified but its value is not available, the field will be left empty in the output result.

-t option

It indicates the time window to aggregate the accounting information. If it is not specified, the accounting information is aggregated in hour by default.

-o option

It indicates the measurement fields that are outputted for accounting and chargeback purposes. Fields are separated by ‘,’. The following fields can be specified in the list:

  • TIMES: Indicates the total invoke times.
  • SUCC: Indicates the invoke times for returning success.
  • APPFAIL: Indicates the invoke times for returning application failure.
  • SYSFAIL: Indicates the invoke times for returning system failure.
  • ELPTIME: Indicates the total elapse time (in millisecond).
  • TIME: Indicates the total CPU time (in millisecond).
  • SYSTIME: Indicates the total System CPU time (in millisecond).
  • USRTIME: Indicates the total User CPU time (in millisecond).
  • SIZE: Indicates the total message size (in kilobytes) of the request message.
  • WTIME: Indicates the average waiting time of the request message in a queue (in microsecond).

By default, fields TIMES, ELPTIME, SYSTIME, and USRTIME are selected as measurement fields.

-i option

If this option is specified, accrpt ignores the line of accounting information where any empty key field is included.

File(s)

Specifies accounting files for analyzing. If no file is specified, accrpt reads input from STDIN.