Any idea how to set current RAM usage to a variable?


I am creating a discord bot, and want to have a command to check current RAM usage (CPU and Disk are always near 0) or perhaps DM me when it gets above a certain amount.
Is there a way to do this or is there an NPM package to do that for me?


You can read the contents of these two files: