monitor_resources_on_node | R Documentation |
To-do: add docs
monitor_resources_on_node(username_or_command, sleeping_time = 30,
total_checks = 10, command_maker = function(x) paste0("ps -u ", x,
" -o pcpu,rss,size,state,time,pid,cmd"), stop_file = NULL)
username_or_command |
The username you're using to log in to the remote server or, if |
sleeping_time |
time between checks in seconds |
total_checks |
total number of checks |
command_maker |
a function that takes in |
stop_file |
The path of a file where, if present on the node, will cause it to end and return prematurely. A totally hacky way of communicating with the monitoring functions. Wholesome people should not bother with this parameter. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.