DIAGNOSE_LOGDIR=<full directory path>
You must enable the ENABLE_DIAGNOSE parameter for DIAGNOSE_LOGDIR to take effect. Set DIAGNOSE_LOGDIR to specify the file location for the collected information. The log file shows who issued these requests, where the requests came from, and the data size of the query. If you do not modify this parameter, the default location for the log file is LSF_LOGDIR.. The name of the log file is query_info.querylog.<host_name>.
You can dynamically set the path from the command line with badmin diagnose -c query -f log_name, where log_name can be a full path. This overrides any other setting for the path. However, if you restart/reconfigure mbatchd, this path setting is lost and it defaults back to the setting you specified in this parameter.
The output of the log file is:
14:13:02 2011,bjobs,server02,user1,1020, 0x0001
Where:
The 1st field is the timestamp.
The 2nd field is the trigger query command. Only mbatchd query commands are supported. Some commands may trigger multiple queries/entries.
The 3rd field is the sending host. If the host name cannot be resolved, LSF uses the IP if available, or -.
The 4th field is the user. If the user name is unknown, LSF displays -.
The 5th field is the maximum data size in KB. The real data size may be a little smaller in some cases.
The 6th field is for query options. Check lsbatchd.h for details. If not applied, LSF displays -.
The values are separated by commas to make it easier to write a script for analyzing the data.
LSF_LOGDIR/