Linux command
bjobs 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show all your pending and running jobs
bjobs
Show all jobs
bjobs -a
Show detailed information
bjobs -l [job_id]
Show jobs in a specific queue
bjobs -q [queue_name]
Show running jobs only
bjobs -r
Show pending jobs only
bjobs -p
Show jobs with wide output
bjobs -w
Show jobs for all users
bjobs -u all
说明
bjobs displays information about LSF (Load Sharing Facility) batch jobs. By default, it shows your pending and running jobs with their status, queue, submission host, and execution host. Job states include PEND (waiting), RUN (executing), DONE (completed successfully), EXIT (failed), PSUSP (pending suspended), USUSP (user suspended), and SSUSP (system suspended). bjobs is part of IBM Spectrum LSF, a workload management platform for scheduling and managing batch jobs in HPC environments and large compute clusters.
参数
- -a
- Show all jobs including recently finished.
- -d
- Show recently finished jobs.
- -l
- Long format with detailed information.
- -p
- Show pending jobs only.
- -r
- Show running jobs only.
- -s
- Show suspended jobs only.
- -w
- Wide format, don't truncate fields.
- -W
- Show estimated start time for pending jobs.
- -q _queue_
- Show jobs from specific queue.
- -u _user_
- Show jobs for specific user (or "all").
- -m _host_
- Show jobs on specific execution host.
- -J _name_
- Show jobs with matching job name.
- -g _group_
- Show jobs in specific job group.
- -o _format_
- Custom output format.
- -noheader
- Suppress header line.
FAQ
What is the bjobs command used for?
bjobs displays information about LSF (Load Sharing Facility) batch jobs. By default, it shows your pending and running jobs with their status, queue, submission host, and execution host. Job states include PEND (waiting), RUN (executing), DONE (completed successfully), EXIT (failed), PSUSP (pending suspended), USUSP (user suspended), and SSUSP (system suspended). bjobs is part of IBM Spectrum LSF, a workload management platform for scheduling and managing batch jobs in HPC environments and large compute clusters.
How do I run a basic bjobs example?
Run `bjobs` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a do in bjobs?
Show all jobs including recently finished.