luci/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include
Zachary Cook b436eb0545 luci-mod-status: use available and cached memory for progress bars
Fixes: 

Uses available and cached memory from /proc/meminfo via procd, and carefully
handles the cases where they are nil or zero, so as to not require specific
linux or procd versions to function

MemAvailable is a better estimate than free + buffered/cached, see:
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0

Also adds a new progressbar that shows cached memory if not nil

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
2019-11-02 17:35:15 -04:00
..
10_system.js luci-mod-status: reimplement index status page as client side view 2019-11-01 12:03:33 +01:00
20_memory.js luci-mod-status: use available and cached memory for progress bars 2019-11-02 17:35:15 -04:00
30_network.js luci-mod-status: reimplement index status page as client side view 2019-11-01 12:03:33 +01:00
40_dhcp.js luci-mod-status: reimplement index status page as client side view 2019-11-01 12:03:33 +01:00
50_dsl.js luci-mod-status: reimplement index status page as client side view 2019-11-01 12:03:33 +01:00
60_wifi.js luci-mod-status: reimplement index status page as client side view 2019-11-01 12:03:33 +01:00