bstop
info
This command is supported starting from fsched-10.87.
Overview
bstop is used to suspend unfinished jobs.
Options
| Option | Description | Main Differences |
|---|---|---|
-a | Suspend all jobs. | No difference. |
-J | Suspend only jobs with the specified name. | No difference. |
-m | Suspend only jobs allocated to a specified host or host group. | Host filtering is supported; host groups are not supported. |
-q | Suspend only jobs in the specified queue. | No difference. |
-u | Suspend jobs owned by the specified user, user group, or all users. | Supports specific users and all users; user-group filtering is not supported. |
-h | Print command usage and exit. | Provides more detailed help information. |
-V | Print version and exit. | No difference. |
job_id Filters
| Filter | Description | Main Differences |
|---|---|---|
| Default (none) | Suspend one job: the most recently submitted job, or the most recently submitted job that matches other specified options. | No difference. |
| 0 | Suspend multiple jobs: all jobs that match other specified options. | No difference. |
| job_ID... | Suspend one or more jobs with the specified id(s). | No difference. |
| job_ID[index_list]... | Suspend one or more jobs with the specified id(s) and index_list. | More accurate suspension results output. |
Examples
-
Suspend a specific job
bstop 10023 -
Suspend the most recently submitted job that matches the filter
bstop -u test -
Suspend all jobs that match the filter
bstop -u test 0
Notes
- In LSF, pending jobs can also be suspended; in the wrapper, pending jobs cannot be suspended.