-hms

Displays times in the customized output in hh:mm:ss format.

Categories

format

Synopsis

bjobs -o format [-json] -hms

Conflicting options

Use only with the -o and -o -json options.

Description

When specified, bjobs displays any times (but not time stamps) in the customized output in hh:mm:ss format.

The cpu_used field normally uses one decimal place in the bjobs output, but if you specify -hms, bjobs rounds up this field to the next second. For example, if the cpu_used field is 0.2 seconds, specifying -hms rounds this number up to 00:00:01.

For the runtimelimit field, if the ABS_RUNLIMIT parameter is defined as Y in the lsb.params file and you specify -hms, bjobs does not display the host name. That is, if ABS_RUNLIMIT=Y is defined in the lsb.params file, bjobs normally displays the host name after the runtime limit (for example, 3.0/hostA). If you specify -hms, bjobs displays the runtime limit without the host name (for example, 00:03:00). This also applies if the ABS_RUNLIMIT parameter is defined as Y in the lsb.applications file and you specify -hms to a job that is submitted to an application profile with ABS_RUNLIMIT=Y.

Specifying the -hms option overrides the LSB_HMS_TIME_FORMAT environment variable, which overrides the LSB_HMS_TIME_FORMAT parameter setting in the lsf.conf file.

This option applies only to output for the bjobs -o and bjobs -o -json commands for customized output. This option has no effect when run with bjobs without the -o option.