IBM Support

How to get history of jobs submitted for past certain number of days

Question & Answer


Question

How to get history of jobs submitted for past certain number of days?

Answer

For example:

To query past 10 days of all user's jobs of all status, run command "bhist -a -u all -n 0 -S .-10,."

Here is the reference for each option in above bhist command:
-a: Displays information about both finished and unfinished jobs.
-u all: Displays information about jobs submitted by all users
-n: Specify 0 to specify all the event log files in $(LSB_SHAREDIR)/cluster_name/logdir (up to a maximum of 100 files).
-S: Displays information about jobs submitted during the specified time interval.

For complete bhist command synopsis, check "man bhist".

[{"Product":{"code":"SSETD4","label":"Platform LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"Standard","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1026763