oadmin.system_metrics: Get system metrics

View source: R/opal.admin.R

oadmin.system_metricsR Documentation

Get system metrics

Description

Get some metrics about the Opal system status. The following information are returned: 'timestamp' (the EPOC time at which the metrics were collected), 'uptime' (the running time in millis), 'heapMemory' (the memory currently used), 'nonHeapMemory' (the memory that can be used), 'threads' (the current (count) and maximum (peak) numbers of threads), 'gcs' (the garbage collectors activity).

Usage

oadmin.system_metrics(opal)

Arguments

opal

Opal connection object.

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
oadmin.system_metrics(o)
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.