Diagnose scheduler buckets
LSF provides the ability to save a snapshot of the current contents of the scheduler buckets to help administrators diagnose problems with the scheduler. Jobs are put into scheduler buckets based on resource requirements and different scheduling policies. Saving the contents into a snapshot file is useful for data analysis by parsing the file or by performing a simple text search on its contents.
This feature is helpful if there is a sudden large performance impact on the scheduler that you want to examine. Use the snapshot file to identify any users with a large number of buckets or large attribute values.
To use this feature, run the badmin diagnose -c jobreq command.
This feature enables mbschd to write an active image of the scheduler job buckets into a snapshot file as raw data in XML or JSON format. There can be a maximum of one snapshot file generated in each scheduling cycle.
Use the -f option to specify a custom file name and path and the -t option to specify whether the file is in XML or JSON format.
By default, the name of the snapshot file is jobreq_<hostname>_<dateandtime>.<format>, where <format> is xml or json, depending on the specified format of the snapshot file. By default, the snapshot file is saved to the location specified in the DIAGNOSE_LOGDIR parameter.