summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorZachary Cook <zachcook1991@gmail.com>2019-11-02 17:01:58 -0400
committerZachary Cook <zachcook1991@gmail.com>2019-11-02 17:35:15 -0400
commitb436eb0545c710a3f0490a8721f78f4dc97a4144 (patch)
tree0fd59007c6ed2dc3a19ddcd6271652110e80e14f /modules/luci-mod-network
parentaa5151e2d1720ea2c815d1d28c910f7274d77a0f (diff)
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>
Diffstat (limited to 'modules/luci-mod-network')
0 files changed, 0 insertions, 0 deletions