ec_mem_usage

March 26, 2020 Contributors

Name

ec_mem_usage — Return the amount of memory used by Momentum

Synopsis

ec_mem_usage

Description

Action which returns the total amount of memory being used by Momentum in MBs.

$megsused = ec_mem_usage;
if $megsused "ge" :comparator "i;ascii-numeric" "4096" {
  ec_disconnect "451" "Resources not available";
}