Skip to main content

$ram

This function retrieves the memory usage in megabytes for the specified type using the process module.

Parameters

ParameterDescription
type(Optional) The type of memory usage to fetch. Default is "rss".

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$ram
$ram[heapUsed]
`,
});