Displays information about jobs with CPU and memory affinity resource requirements for each task in the job.
format
Sets the customized output format.
To specify special delimiter characters in a csh environment (for example, $), use double quotation marks (") in the delimiter specification and single quotation marks (') in the -o statement:
bjobs ... -o 'field_name[:[-][output_width]] ... [delimiter="character"]'
The bjobs -o option overrides the LSB_BJOBS_FORMAT environment variable, which overrides the LSB_BJOBS_FORMAT setting in lsf.conf.
The following are the field names used to specify the bjobs fields to display, recommended width, aliases you can use instead of field names, and units of measurement for the displayed field:
Field name | Width | Aliases | Unit | Category |
---|---|---|---|---|
jobid | 7 | id | Common | |
stat | 5 | |||
user | 7 | |||
user_group | 15 | ugroup | ||
queue | 10 | |||
job_name | 10 | name | ||
job_description | 17 | description | ||
proj_name | 11 | proj, project | ||
application | 13 | app | ||
service_class | 13 | sla | ||
job_group | 10 | group | ||
job_priority | 12 | priority | ||
dependency | 15 | |||
command | 15 | cmd | Command | |
pre_exec_command | 16 | pre_cmd | ||
post_exec_command | 17 | post_cmd | ||
resize_notification_command | 27 | resize_cmd | ||
pids | 20 | |||
exit_code | 10 | |||
exit_reason | 50 | |||
from_host | 11 | Host | ||
first_host | 11 | |||
exec_host | 11 | |||
nexec_host Note: If the allocated host group
or compute unit is condensed, this field does not display the real
number of hosts. Use bjobs -X -o to view the real
number of hosts in these situations.
|
10 | |||
alloc_slot | 20 | |||
nalloc_slot | 10 | |||
host_file | 10 | |||
submit_time | 15 | Time | ||
start_time | 15 | |||
estimated_start_time | 20 | estart_time | ||
specified_start_time | 20 | sstart_time | ||
specified_terminate_time | 24 | sterminate_time | ||
time_left | 11 | seconds | ||
finish_time | 16 | |||
%complete | 11 | |||
warning_action | 15 | warn_act | ||
action_warning_time | 19 | warn_time | ||
cpu_used | 10 | CPU | ||
run_time | 15 | seconds | ||
idle_factor | 11 | |||
exception_status | 16 | except_stat | ||
slots | 5 | |||
mem | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
max_mem | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
avg_mem | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
memlimit | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
swap | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
swaplimit | 10 | LSF_UNIT_FOR_LIMITS in lsf.conf (KB by default) | ||
min_req_proc | 12 | Resource requirement | ||
max_req_proc | 12 | |||
effective_resreq | 17 | eresreq | ||
network_req | 15 | |||
filelimit | 10 | Resource limits | ||
corelimit | 10 | |||
stacklimit | 10 | |||
processlimit | 12 | |||
input_file | 10 | File | ||
output_file | 11 | |||
error_file | 10 | |||
output_dir | 15 | Directory | ||
sub_cwd | 10 | |||
exec_home | 10 | |||
exec_cwd | 10 | |||
forward_cluster | 15 | fwd_cluster | MultiCluster | |
forward_time | 15 | fwd_time |
Field names and aliases are not case sensitive. Valid values for the output width are any positive integer between 1 and 4096. If the jobid field is defined with no output width and LSB_JOBID_DISP_LENGTH is defined in lsf.conf, the LSB_JOBID_DISP_LENGTH value is used for the output width. If jobid is defined with a specified output width, the specified output width overrides the LSB_JOBID_DISP_LENGTH value.
For example,
bjobs -o "jobid stat: queue:- project:10 application:-6 delimiter='^'" 123
This command (used to illustrate the different subcommands for -o) displays the following fields for a job with the job ID 123: