[Q] job_history_duration parameter


#1

Hello, members.

I want to see past job execution status. I need 6 months ~ 1 year ago.
Is job_history_duration parameter for that?

The default(two weeks) enough for cluster users and qstat -x.
But, It is too short for me(administrator)

Can I check past job status for more than three weeks ago?

General administrators make a report about cluster usage.
Could you tell me how to create it?
(What data source use?)

  • How many jobs submitted into clusters?
  • How many user used cluster.
  • How long time took long jobs?
  • etc…

OS: CentOS7
PBSPro: pbspro-server-ohpc-14.1.2-9.1.x86_64

Best regards.


#2

qmgr -c “set server job_history_enable=true” # this will enable job history for 2 weeks
qmgr -c “set server job_history_duration=720:00:00”# This will enable job history for 30 days ( job_histor_enable should be set to true)
qmgr -c “set server job_history_duration=HH:MM:SS”

Yes, please set the job_history_duration to your required time

You can write custom script that parses the PBS Pro accounting logs ( $PBS_HOME/server_priv/accounting )
or there is a commercial product called PBS Control which has the complete reporting, charting capabilities.

The latest open source release is PBS Pro version 18.1.3


#3

+1 @adarsh

The latest OpenHPC release (version 1.3.6 published November 7th) contains PBS Pro 18.1.3. I suggest you use the latest version.

https://openhpc.community/downloads/


#4

Hello, @adarsh and @mkaro

Thank you for the reply.

I’ll change job_history_duration parameter.
And I updated PBS Pro version to 18.1.3.