lsacct

lsacct

displays accounting statistics on finished RES tasks in the LSF system

Synopsis

lsacct [-l][-Ctime0,time1] [-Stime0,time1] [-flogfile_name] [-mhost_name] [-uuser_name ... -u all] [pid ...]

lsacct [-h -V]

Description

Displays statistics on finished tasks run through RES. When a remote task completes, RES logs task statistics in the task log file.

By default, displays accounting statistics for only tasks owned by the user who invoked the lsacct command.

By default, displays accounting statistics for tasks executed on all hosts in the LSF system.

By default, displays statistics for tasks logged in the task log file currently used by RES: LSF_RES_ACCTDIR/lsf.acct.host_name or /tmp/lsf.acct.host_name (see lsf.acct(5)).

If -lis not specified, the default is to display the fields in SUMMARY only (see

OUTPUT).

The RES on each host writes its own accounting log file. These files can be merged using the lsacctmrg command to generate statistics for the entire LSF cluster.

All times are reported in seconds. All sizes are reported in kilobytes.

Options

-lPer-task statistics. Displays statistics about each task. See OUTPUT for a description of information that is displayed.

-Ctime0,time1 Displays accounting statistics for only tasks that completed or exited during the specified time interval.

The time format is the same as in bhist(1).

-flogfile_name Searches the specified task log file for accounting statistics. Specify either an absolute or a relative path.

Useful for analyzing old task log files or files merged with the lsacctmrg command.

-mhost_name ... Displays accounting statistics for only tasks executed on the specified hosts.

If a list of hosts is specified, host names must be separated by spaces and enclosed in quotation marks (") or (’).

-Stime0,time1 Displays accounting statistics for only tasks that began executing during the specified time interval.

The time format is the same as in bhist(1).

218Platform LSF Command Reference