run_cmd: Run command on submission node

Description Usage Arguments Details Value Examples

View source: R/monitor.R

Description

Run command on submission node

Usage

1

Arguments

cmd

A single-line command.

print

Whether to print output from the command.

Details

If current node is not the submission node, the command is executed via ssh.

Value

The output of the command.

Examples

1
2
3
4
5
## Not run: 
# run pwd on remote node
run_cmd("pwd")

## End(Not run)

bsub documentation built on July 1, 2021, 5:07 p.m.