get_nodes_info: Get the status of all the nodes

get_nodes_infoR Documentation

Get the status of all the nodes

Description

Finds the statuses of all the nodes in the cluster via logging in and running pbsnodes on one of the nodes, and then parsing that information into a data frame.

NOTE: This only works with a cluster that has pbsnodes set up and working in a particular format. This is completely untested with other clusters.

Usage

get_nodes_info(login_node, check_node = c("node33", "node34", "node64"),
  timeout_sec = 10)

Arguments

login_node

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

check_node

the name of any "nodeN" hostnames, to get the data from. Will iterate through until it finds one that works.

Value

A data frame with all the node information


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