snap_shot_activity: Plot current resource consumption

View source: R/monitoring.R

snap_shot_activityR Documentation

Plot current resource consumption

Description

Plots the total RSS and %CPU from monitor_cluster_resources at the current time.

Basically, this is just a wrapper for monitor_cluster_resources that checks once, plots the results, and returns the data frame it used to plot them. It automatically filters out the PID of the monitoring processes.

Usage

snap_shot_activity(username_or_command, login_node, node_list, ...,
  .timeout = 30)

Arguments

username_or_command

The username you're using to log in to the remote server or, if you supply command_maker=NULL to the ..., the command you want to call and check the results of. Just stick with your username. It's easier for everyone.

login_node

the name of the gateway node (e.g. 'zach@remote_back_up_server.server.com'). Should NOT be the same as the node you're using to run the other tasks.

node_list

a list of the nodes you want to monitor

...

additional arguments supplied to monitor_resources_on_node

.timeout

The amount of seconds to wait before giving up

Value

a dataframe


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