luci/modules/luci-mod-status
Zachary Cook b436eb0545 luci-mod-status: use available and cached memory for progress bars
Fixes: #1148

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
..
htdocs/luci-static/resources luci-mod-status: use available and cached memory for progress bars 2019-11-02 17:35:15 -04:00
luasrc luci-mod-status: use declarative dependencies in controller 2019-11-01 12:03:33 +01:00
src luci-mod-status: luci-bwc: use 64bit traffic counters 2019-07-19 21:56:53 +02:00
Makefile modules: Split luci-mod-full 2018-09-19 20:08:19 +02:00