Argonne-National-Laboratory / node-red-contrib-os

Node-Red nodes for obtaining cpu system information.
Other
10 stars 11 forks source link

Mem fixing #2

Closed StefanWerW closed 8 years ago

StefanWerW commented 8 years ago

Memory in use as a percentage should be the 100 percent minus the total free (freeMemory/totalMemory).

Other way could be ( (totalMemory - freeMemory)/totalMemory)*100

jayharper commented 8 years ago

@StefanWerW: Thanks for contributing. I will be on work travel this week and will look at your PR's when I return.