User commands
Viewing information about your cluster
Command | Description |
bhosts | Displays hosts and their static and dynamic resources |
|
|
bmgroup | Displays information about host groups |
blimits | Displays information about resource allocation limits of running jobs |
|
|
bparams | Displays information about tunable batch system parameters |
bqueues | Displays information about batch queues |
|
|
busers | Displays information about users and user groups |
lshosts | Displays hosts and their static resource information |
|
|
lsid | Displays the current LSF version number, cluster name and the master |
| host name |
lsinfo | Displays load sharing configuration information |
|
|
lsload | Displays dynamic load indices for hosts |
|
|
Monitoring jobs and tasks
Command | Description |
bapp | Displays information about jobs attached to application profiles |
|
|
bhist | Displays historical information about jobs |
bjgroup | Displays information about job groups |
|
|
bjobs | Displays information about jobs |
bpeek | Displays stdout and stderr of unfinished jobs |
|
|
bsla | Displays information about service class configuration for |
|
|
bstatus | Reads or sets external job status messages and data files |
|
|
Submitting and controlling jobs
Command | Description |
bbot | Moves a pending job relative to the last job in the queue |
|
|
bchkpnt | Checkpoints a checkpointable job |
bgadd | Creates job groups |
|
|
bgdel | Deletes job groups |
bkill | Sends a signal to a job |
|
|
bmig | Migrates a checkpointable or rerunnable job |
bmod | Modifies job submission options |
|
|
brequeue | Kills and requeues a job |
brestart | Restarts a checkpointed job |
|
|
bresume | Resumes a suspended job |
bstop | Suspends a job |
|
|
bsub | Submits a job |
bswitch | Moves unfinished jobs from one queue to another |
|
|
btop | Moves a pending job relative to the first job in the queue |
|
|
bsub command
Syntax
bsub [options] command [arguments]
Options
Option | Description |
Sends email when the job is dispatched | |
|
|
Holds the job in the PSUSP state at submission | |
| Submits a batch interactive job. |
| terminal. |
|
|
Submits a job and waits for the job to finish | |
Emails the job report when the job finishes | |
|
|
Makes a job rerunnable | |
Exclusive execution | |
|
|
| String format parameter containing the name of an |
|
|
| master esub |
| Submits the job to the specified application profile |
|
|
| Dispatches the job on or after the specified date and |
| time in the form [[month:]day:]:minute |
| Sets a |
| the processes that belong to this job |
|
|
| Limits the total CPU time the job can use. CPU time is |
host_model] | in the form [hour:]minute |
| Sets |
| for each process that belong to the job |
|
|
| Runs the specified |
[arguments ...]" | execution host before running the job |
| Appends the standard error output to a file |
|
|
| Overwrites the standard error output of the job to the |
| specified file |
|
|
"external_scheduler_options" | the job |
|
|
| Sets |
| process that belong to the job |
| Copies a file between the local (submission) host and |
| remote (execution) host. op is one of >, <, <<, ><, <> |
|
|
| Associates job with a specified user group |
| Associates job with a specified job group |
|
|
| Gets the standard input for the job from specified file |
| Assigns the specified name to the job. Job arrary |
%job_slot_limit" | Index_list has the form |
| %job_slot_limit is the maximum number of jobs that |
| can run at any given time. |
|
|
| Submits a job using a JSDL file to specify job |
file_name | submission options |
| Makes a job checkpointable and specifies the |
[method=method_name]" | checkpoint directory, period in minutes, and method |
|
|
| Initializes the execution environment using the |
| specified login shell |
|
|
Option | Description |
| Assigns the job to the specified License Scheduler |
| project |
|
|
| Sets the memory limit (KB) |
| Runs job on one of the specified hosts. Plus (+) after |
[@cluster_name][[!] | the names of hosts or host groups indicates a |
+[pref_level]] host_group[[!] | preference. Optionally, a positive integer indicates a |
+[pref_level]] ..." | preference level. Higher numbers indicate greater |
| preferences for those hosts. |
|
|
| Specifies the minimum and maximum numbers of |
| processors required for a parallel job |
| Appends the standard output to a file |
|
|
| Overwrites the standard output of the job to the |
| specified file if it exists, or sends the output to a new |
| file if it does not exist |
| Assigns job to specified project |
|
|
| Sets the limit of the number of processes for the whole |
| job |
| Submits job to specified queues |
|
|
| Specifies host resource requirements |
| Sets a |
| for each of the processes that belong to the job |
|
|
| Send signal when a |
| Specifies the service class where the job is to run |
|
|
| Specifies |
| order their jobs in a queue |
| Sets the limit of the number of concurrent threads for |
| the whole job |
|
|
| Specifies the job termination deadline in the form |
| [[month:]day:]hour:minute |
| Use advance reservation created with brsvadd |
|
|
| Sends mail to the specified email address |
| Set the total process virtual memory limit (KB) for the |
| whole job |
|
|
| Sets the run time limit of the job in the form |
host_model] | [hour:]minute |
| Places a job when the dependency expression |
| evaluates to TRUE |
|
|
| Specifies the job action to be taken before a job |
CHKPNT]' | control action occurs |
| Specifies the amount of time before a job control |
| action occurs that a job warning action is to be taken |
|
|
| Spools a command file for the job to the directory |
| specified by the JOB_SPOOL_DIR in lsb.params |
Prints command usage to stderr and exits | |
|
|
Prints LSF release version to stderr and exits | |
|
|
| www.platform.com |
© | doc@platform.com |
Release date: May 2008 | Last modified: May 2 2008 |
All products or services mentioned in this document are identified by the trademarks or |
|
service marks of their respective owners. |
|