Command output formatting
The following new features are related to the LSF command output.
Customize host load information output
Like the bjobs -o option, you can now also customize specific fields that the lsload command displays by using the -o command option. This allows you to create a specific output format, allowing you to easily parse the information by using custom scripts or to display the information in a predefined format.
You can also specify the default output formatting of the lsload command by specifying the LSF_LSLOAD_FORMAT parameter in the lsf.conf file, or by specifying the LSF_LSLOAD_FORMAT environment variable.
View customized host load information in JSON format
With this release, you can view customized host load information in JSON format by using the new -json command option with the lsload command. Since JSON is a customized output format, you must use the -json option together with the -o option.
New output fields for busers -w
With this release, two new fields have been added to the output for busers -w: PJOBS and MPJOBS.
- PEND
- The number of tasks in all of the specified users' pending jobs. If used with the -alloc option, the total is 0.
- MPEND
- The pending job slot threshold for the specified users or user groups. MPEND is defined by the MAX_PEND_SLOTS parameter in the lsb.users configuration file.
- PJOBS
- The number of users' pending jobs.
- MPJOBS
- The pending job threshold for the specified users. MPJOBS is defined by the MAX_PEND_JOBS parameter in the configuration file lsb.users.