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".
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1026763