Command Reference Guide

Example
142 Platform LSF Command Reference
By default, -a gets the attachment file from the directory specified by the
JOB_ATTA_DIR parameter. If JOB_ATTA_DIR is not specified, job message
attachments are saved in
LSB_SHAREDIR/info/.
-i message_index Specifies the message index to be retrieved.
Default: 0
job_ID | "job_ID[index]" | -J job_name
Required. Specify the job to operate on.
-h Prints command usage to stderr and exits.
-V Prints LSF release version to stderr and exits.
Example
bpost -i 1 -d "step 1" -a step1.out 2500
bread -i 1 -a step2.in 2500
JOBID MSG_ID FROM POST_TIME DESCRIPTION
2500 1 user1 May 19 13:59 step 1
Displays the message description text step 1 for message index 1 of job 2500 and
copies the data in the file
step1.out attached to message 1 to the file step2.in.
See also
bpost(1), bstatus(1), bsub(1), JOB_ATTA_DIR