Command Reference Guide

Platform LSF Command Reference 9
-m host_name ...
Displays accounting statistics for jobs dispatched to the specified hosts.
If a list of hosts is specified, host names must be separated by spaces and enclosed
in quotation marks (") or (’).
-N host_name | -N host_model | -N cpu_factor
Normalizes CPU time by the CPU factor of the specified host or host model, or by
the specified CPU factor.
If you use
bacct offline by indicating a job log file, you must specify a CPU factor.
-P project_name ... Displays accounting statistics for jobs belonging to the specified projects. If a list of
projects is specified, project names must be separated by spaces and enclosed in
quotation marks (") or (’).
-q queue_name ... Displays accounting statistics for jobs submitted to the specified queues.
If a list of queues is specified, queue names must be separated by spaces and
enclosed in quotation marks (") or (’).
-S time0,time1 Displays accounting statistics for jobs submitted during the specified time interval.
Reads
lsb.acct and all archived log files (lsb.acct.n) unless -f is also used.
The time format is the same as in
bhist(1).
-sla service_class_name
Displays accounting statistics for jobs that ran under the specified service class.
If a default system service class is configured with ENABLE_DEFAULT_EGO_SLA
in
lsb.params but not explicitly configured in lsb.applications,
bacct -sla service_class_name displays accounting information for the specified
default service class.
-U reservation_id ... | -U all
Displays accounting statistics for the specified advance reservation IDs, or for all
reservation IDs if the keyword
all is specified.
A list of reservation IDs must be separated by spaces and enclosed in quotation
marks (") or (’).
The
-U option also displays historical information about reservation modifications.
When combined with the
-U option, -u is interpreted as the user name of the
reservation creator. For example:
bacct -U all -u user2
shows all the advance reservations created by user user2.
Without the
-u option, bacct -U shows all advance reservation information about
jobs submitted by the user.
In a MultiCluster environment, advance reservation information is only logged in
the execution cluster, so
bacct displays advance reservation information for local
reservations only. You cannot see information about remote reservations. You
cannot specify a remote reservation ID, and the keyword
all only displays
information about reservations in the local cluster.
-u user_name ...|-u all Displays accounting statistics for jobs submitted by the specified users, or by all
users if the keyword
all is specified.