testing_nodes: Test nodes' connectivity

test_nodeR Documentation

Test nodes' connectivity

Description

Test and see if a node is reachable by actually trying to connect to them.

Usage

test_node(nodename, login_node, timeout_sec, .connection_timer = 3)

test_nodes(node_list, login_node, timeout_sec = 5, verbose = FALSE,
  .connection_timer = 3, .debug = FALSE)

Arguments

nodename

a string of the node to try to connect to

login_node

a string for the gateway login, e.g., "zacharyburchill@gateway.rochester.edu" (not real)

timeout_sec

the number of seconds to wait after trying to connect to a node before declaring it dead

.connection_timer

the number of additional seconds to wait before declaring that the attempt to connect to the node was unsuccessful

node_list

a list/vector of strings of node names to try to connect to

verbose

a boolean on whether to print the errors, messages, and warnings that happend while testing the nodes, if any

Details

test_node is for individual nodes. test_nodes takes a list of node names, tests each of them, and returns a list of the ones that work.


burchill/cs documentation built on May 28, 2023, 1:29 p.m.