Skip to main content

bstop

info

This command is supported starting from fsched-10.87.

Overview

bstop is used to suspend unfinished jobs.

Options

OptionDescriptionMain Differences
-aSuspend all jobs.No difference.
-JSuspend only jobs with the specified name.No difference.
-mSuspend only jobs allocated to a specified host or host group.Host filtering is supported; host groups are not supported.
-qSuspend only jobs in the specified queue.No difference.
-uSuspend jobs owned by the specified user, user group, or all users.Supports specific users and all users; user-group filtering is not supported.
-hPrint command usage and exit.Provides more detailed help information.
-VPrint version and exit.No difference.

job_id Filters

FilterDescriptionMain Differences
Default (none)Suspend one job: the most recently submitted job, or the most recently submitted job that matches other specified options.No difference.
0Suspend 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

  1. Suspend a specific job

    bstop 10023
  2. Suspend the most recently submitted job that matches the filter

    bstop -u test
  3. 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.