Command Reference Guide

Platform LSF Command Reference 141
bread
reads messages and attached data files from a job
Synopsis
bread [-i message_index] [-a file_name]
job_ID | "job_ID[index]" | -J job_name
bread [-h | -V]
Description
Reads messages and data posted to an unfinished job with bpost.
By default, displays the message description text of the job. By default, operates on
the message with index 0.
You can read messages and data from a job until it is cleaned from the system. You
cannot read messages and data from done or exited jobs.
If a you specify a job ID:
You can get read messages of jobs submitted by other users, but you cannot read
data files attached to jobs submitted by other users.
You can only read data files attached to your own jobs.
Root and LSF administrators can read messages of jobs submitted by other
users.
Root and LSF administrators cannot read data files attached to jobs submitted
by other users.
Job names are not unique; if you specify
-J job_name:
You only can read messages and data from your own jobs.
You cannot read messages and data from jobs submitted by other users.
Root and the LSF administrators can only read messages and data from their
own jobs.
The command:
bstatus
is equivalent to:
bread -i 0
Options
-a file_name Gets the text message and copies the data file attached to the specified message
index of the job to the file specified by file_name. Data files cannot be attached to
MultiCluster jobs.
If you do not specify a message index, copies the attachment of message index 0 to
the file. The job must have an attachment, and you must specify a name for the file
you are copying the attachment to. If the file already exists,
-a overwrites it with the
new file.