Summary of jobs
bjobs(
status = c("RUN", "PEND"),
max = Inf,
filter = NULL,
print = TRUE,
job_id = NULL
)
bjobs_raw(fields = "jobid stat job_name queue")
brecent(max = 20, filter = NULL)
bjobs_running(max = Inf, filter = NULL)
bjobs_pending(max = Inf, filter = NULL)
bjobs_done(max = Inf, filter = NULL)
bjobs_exit(max = Inf, filter = NULL)
Status of the jobs. Use "all" for all status
Maximal number of recent jobs.
Regular expression on job names.
Whether to print the table.
A single job ID, internally used.
Supported output fields, check https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=information-customize-job-output. The value can be a vector of field names or a single string that already includes output fields separated by space.
A data frame with selected job summaries.
There is an additional column "RECENT" which is the order for the job with the same name. 1 means the most recent job.
You can directly type bjobs
without parentheses which runs bjobs
with defaults.
brecent
shows the most recent.
bjobs_done
shows the "DONE" jobs.
bjobs_exit
shows the "EXIT" jobs.
bjobs_pending
shows the "PEND" jobs.
bjobs_running
shows the "RUN" jobs.
bjobs_raw()
returns the table from the original bsubs -a -o '...'
call.
# \dontrun{
bjobs # this is the same as bjobs()
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs() # all running and pending jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "all") # all jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "RUN") # all running jobs, you can also use `bjobs_running`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "PEND") # all pending jobs, you can also use `bjobs_pending`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "DONE") # all done jobs, you can also use `bjobs_done`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "EXIT") # all exit jobs, you can also use `bjobs_exit`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "all", max = 20) # last 20 jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs(status = "DONE", filter = "example") # done jobs with name '.*example.*'
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }
# \dontrun{
brecent # this is the same as `brecent()`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
brecent() # last 20 jobs (from all status)
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
brecent(max = 50) # last 50 jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
brecent(filter = "example") # last 20 jobs with name ".*example.*"
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }
# \dontrun{
bjobs_running # this is the same as `bjobs_running()`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_running() # all running jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_running(max = 50) # last 50 running jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_running(filter = "example") # running jobs with name ".*example.*"
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }
# \dontrun{
bjobs_pending # this is the same as `bjobs_pending()`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_pending() # all pending jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_pending(max = 50) # last 50 pending jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_pending(filter = "example") # pending jobs with name ".*example.*"
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }
# \dontrun{
bjobs_done # this is the same as `bjobs_done()`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_done() # all done jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_done(max = 50) # last 50 done jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_done(filter = "example") # done jobs with name ".*example.*"
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }
# \dontrun{
bjobs_exit # this is the same as `bjobs_exit()`
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_exit() # all exit jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_exit(max = 50) # last 50 exit jobs
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
bjobs_exit(filter = "example") # exit jobs with name ".*example.*"
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }