LSF Handbook
7.1 命令参考
IBM Spectrum LSF 命令的参考。
  • bacct
    Displays accounting statistics about finished jobs.
  • badmin
    The badmin command is the administrative tool for LSF.
  • bapp
    Displays information about application profile configuration.
  • battach
    Runs a shell process to connect to an existing job execution host or container.
  • battr
    Provides a set of subcommands to manage LSF host attributes for attribute affinity scheduling.
  • bbot
    Moves a pending job to the bottom of the queue relative to the last job in the queue.
  • bchkpnt
    Checkpoints one or more checkpointable jobs
  • bclusters
    Displays information about IBM Spectrum LSF multicluster capability
  • bconf
    Submits live reconfiguration requests, updating configuration settings in active memory without restarting daemons.
  • bdata
    Provides a set of subcommands to query and manage IBM Spectrum LSF Data Manager. If no subcommands are supplied, bdata displays the command usage.
  • bentags
    Queries or removes information about the energy policy tag from the mbatchd daemon, which is saved in the energy-aware scheduling database. Used with energy policy, or energy aware scheduling feature.
  • bgadd
    Creates job groups
  • bgdel
    Deletes job groups
  • bgmod
    Modifies job groups
  • bgpinfo
    Displays information about global fairshare.
  • bhist
    Displays historical information about jobs
  • bhosts
    Displays hosts and their static and dynamic resources
  • bhpart
    Displays information about host partitions
  • bimages
    Displays information on Docker container images
  • bjdepinfo
    Displays job dependencies.
  • bjgroup
    Displays information about job groups
  • bjobs
    Displays and filters information about LSF jobs. Specify one or more job IDs (and, optionally, an array index list) to display information about specific jobs (and job arrays).
  • bkill
    Sends signals to kill, suspend, or resume unfinished jobs
  • bladmin
    Administrative tool for IBM Spectrum LSF License Scheduler.
  • blaunch
    Launches parallel tasks on a set of hosts.
  • blcollect
    License information collection daemon for LSF License Scheduler. The blcollect daemon collects license usage information.
  • blcstat
    Displays dynamic update information from the blcollect daemon for LSF License Scheduler.
  • blhosts
    Displays the names of all the hosts that are running the LSF License Scheduler daemon (bld).
  • blimits
    Displays information about resource allocation limits of running jobs.
  • blinfo
    Displays static LSF License Scheduler configuration information
  • blkill
    Terminates an interactive (taskman) LSF License Scheduler task.
  • blparams
    Displays information about configurable LSF License Scheduler parameters that are defined in the files lsf.licensescheduler and lsf.conf
  • blstat
    Displays dynamic license information.
  • bltasks
    Displays LSF License Scheduler interactive task information.
  • blusers
    Displays license usage information for LSF License Scheduler.
  • bmgroup
    Displays information about host groups and compute units.
  • bmig
    Migrates checkpointable or rerunnable jobs.
  • bmod
    Modifies job submission options of a job.
  • bparams
    Displays information about configurable system parameters in the lsb.params file.
  • bpeek
    Displays the stdout and stderr output of an unfinished job.
  • bpost
    Sends external status messages and attaches data files to a job.
  • bqueues
    Displays information about queues.
  • bread
    Reads messages and attached data files from a job.
  • brequeue
    Kills and requeues a job.
  • bresize
    Decreases or increases tasks that are allocated to a running resizable job, or cancels pending job resize allocation requests.
  • Displays information about resource reservation, resource limits, and guaranteed resource policies.
  • brestart
    Restarts checkpointed jobs.
  • bresume
    Resumes one or more suspended jobs.
  • brlainfo
    Displays host topology information.
  • brsvadd
    Adds an advance reservation.
  • brsvdel
    Deletes an advance reservation.
  • brsvjob
    Shows information about jobs submitted with the brsvsub command to a specific advance reservation.
  • brsvmod
    Modifies an advance reservation.
  • brsvs
    Displays advance reservations.
  • brsvsub
    Creates a dynamically scheduled reservation and submits a job to fill the advance reservation when the resources required by the job are available.
  • brun
    Forces a job to run immediately.
  • bsla
    Displays information about service classes. Service classes are used in guaranteed resource policies and service-level agreement (SLA) scheduling.
  • bslots
    Displays slots available and backfill windows available for backfill jobs.
  • bstage
    Stages data files for jobs with data requirements by copying files or creating symbolic links for them between the local staging cache and the job execution environment. You must run bstage only within the context of an LSF job (like blaunch). To access a file with the bstage command, you must have permission to read it.
  • bstatus
    Gets current external job status or sets new job status.
  • bstop
    Suspends unfinished jobs.
  • bsub
    Submits a job to LSF by running the specified command and its arguments.
  • bswitch
    Switches unfinished jobs from one queue to another.
  • btop
    Moves a pending job relative to the first job in the queue.
  • bugroup
    Displays information about user groups.
  • busers
    Displays information about users and user groups.
  • bwait
    Pauses and waits for the job query condition to be satisfied.
  • ch
    Changes the host where subsequent commands run.
  • gpolicyd
    Displays LSF global policy daemon information.
  • lim
    Load information manager (LIM) daemon or service, monitoring host load.
  • lsacct
    Displays accounting statistics on finished RES tasks in the LSF system.
  • lsacctmrg
    Merges LSF RES task log files.
  • lsadmin
    Administrative tool to control LIM and RES daemon operations in LSF.
  • Displays configuration information about LSF clusters.
  • Displays whether a task is eligible for remote execution.
  • The LSF installation and configuration script.
  • lsfmon
    Install or uninstall LSF Monitor in an existing cluster.
  • Restarts the LIM, RES, sbatchd, and mbatchd daemons on all hosts in the cluster
  • Shuts down the LIM, RES, sbatchd, and mbatchd daemons on all hosts in the cluster.
  • Starts the LIM, RES, and sbatchd daemons on all hosts in the cluster.
  • lsgrun
    Runs a task on a group of hosts.
  • lshosts
    Displays hosts and their static resource information.
  • lsid
    Displays the LSF version number, the cluster name, and the master host name.
  • lsinfo
    Displays LSF configuration information.
  • lsload
    Displays load information for hosts.
  • lsloadadj
    Adjusts load indices on hosts.
  • lslogin
    Remotely logs in to a lightly loaded host.
  • lsltasks
    Displays or updates a local task list.
  • lsmake
    Runs LSF make tasks in parallel.
  • lsmon
    Displays load information for LSF hosts and periodically updates the display.
  • lspasswd
    Registers Windows user passwords in LSF. Passwords must be 3 - 23 characters long.
  • lsplace
    Displays hosts available to run tasks.
  • Displays ports that LSF is currently using or the LSF ports that will be used before starting LSF.
  • lsrcp
    Remotely copies files through LSF.
  • UNIX version of the lsreghost command registers UNIX LSF host names and IP addresses with LSF servers so that LSF servers can internally resolve these hosts without requiring a DNS server.
  • Windows version of the lsreghost command registers Windows LSF host names and IP addresses with LSF servers so that LSF servers can internally resolve these hosts without requiring a DNS server.
  • lsrtasks
    Displays or updates a remote task list.
  • lsrun
    Runs an interactive task through LSF.
  • lstcsh
    Load sharing tcsh for LSF
  • pam
    Parallel Application Manager – job starter for MPI applications
  • UNIX only. Manage patches in LSF cluster.
  • UNIX version of the command. Displays the version information for IBM Spectrum LSF installed on UNIX hosts.
  • Windows version of the command. Displays the version information for IBM Spectrum LSF installed on a Windows host.
  • ssacct
    Displays accounting statistics about finished LSF session scheduler jobs.
  • ssched
    Submit tasks through LSF session scheduler.
  • taskman
    Checks out a license token and manages interactive UNIX applications.
  • tspeek
    Displays the stdout and stderr output of an unfinished Terminal Services job.
  • tssub
    Submits a Terminal Services job to LSF.
  • wgpasswd
    Changes a user’s password for a Microsoft Windows workgroup.
  • wguser
    Modifies user accounts for a Microsoft Windows workgroup