diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-06-16 16:38:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 16:38:51 +0300 |
commit | 131e5f5f6e5822a1fd8107c228f1a9a49f08e847 (patch) | |
tree | f44a0ef13b3a6898639144d07187b16a8707f9f8 /web | |
parent | c39ebcb87d21948931096b742cb07ecdae381c88 (diff) |
Add mem.available chart to FreeBSD (#13140)
Diffstat (limited to 'web')
-rw-r--r-- | web/gui/dashboard_info.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index 35834aaf01..59d198f486 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -1734,7 +1734,12 @@ netdataDashboard.context = { }, 'mem.available': { - info: 'Available Memory is estimated by the kernel, as the amount of RAM that can be used by userspace processes, without causing swapping.' + info: function (os) { + if (os === "freebsd") + return 'The amount of memory that can be used by user-space processes without causing swapping. Calculated as the sum of free, cached, and inactive memory.'; + else + return 'Available Memory is estimated by the kernel, as the amount of RAM that can be used by userspace processes, without causing swapping.'; + } }, 'mem.writeback': { |