Command Reference Guide

lsacct
218 Platform LSF Command Reference
lsacct
displays accounting statistics on finished RES tasks in the LSF system
Synopsis
lsacct [-l] [-C time0,time1] [-S time0,time1] [-f logfile_name]
[-m host_name] [-u user_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
-l is 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
-l Per-task statistics. Displays statistics about each task. See OUTPUT for a
description of information that is displayed.
-C time0,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).
-f logfile_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.
-m host_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 (’).
-S time0,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).