← 返回命令列表

Linux command

bhist 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show history

bhist

Show history

bhist [job_id]

Show history

bhist -a

Show detailed history

bhist -l [job_id]

Show history

bhist -q [queue_name]

Show history

bhist -t -b [12/01/08:00] -e [12/01/18:00]

Show jobs with specific status

bhist -d

说明

bhist displays historical information about LSF (Load Sharing Facility) jobs. It shows job history including submission time, start time, completion time, exit status, and resource usage from job event logs. The command queries the LSF job event log files (lsb.events) to reconstruct job history. By default, it shows only your own jobs, but administrators can view all jobs. bhist is part of IBM Spectrum LSF, a workload management platform used in HPC (High Performance Computing) environments for scheduling and managing batch jobs across compute clusters.

参数

-a
Show all users' job history.
-d
Show jobs that have finished (DONE/EXIT).
-l
Long format with detailed information.
-p
Show pending jobs history.
-r
Show running jobs history.
-q _queue_
Show jobs from specific queue.
-u _user_
Show jobs for specific user.
-m _host_
Show jobs on specific host.
-t
Show time-based job history.
-b _time_
Begin time for history search.
-e _time_
End time for history search.
-n _num_
Limit to most recent num jobs.
-J _name_
Show jobs with matching name.

FAQ

What is the bhist command used for?

bhist displays historical information about LSF (Load Sharing Facility) jobs. It shows job history including submission time, start time, completion time, exit status, and resource usage from job event logs. The command queries the LSF job event log files (lsb.events) to reconstruct job history. By default, it shows only your own jobs, but administrators can view all jobs. bhist is part of IBM Spectrum LSF, a workload management platform used in HPC (High Performance Computing) environments for scheduling and managing batch jobs across compute clusters.

How do I run a basic bhist example?

Run `bhist` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a do in bhist?

Show all users' job history.