procd: Add cached and available to memory table
authorZachary Cook <zachcook1991@gmail.com>
Tue, 8 Oct 2019 05:02:50 +0000 (01:02 -0400)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 17 Oct 2019 19:36:48 +0000 (21:36 +0200)
commit258aa04328a20213b12228d01d494c1e22f8d510
tree724e3d977004c8e265c26a4121dab64fe940dc79
parent8e9fb51fa66e614620a97d371176610e7e1d0010
procd: Add cached and available to memory table

Provides a better measure of actual system memory usage for Luci/users.
"cached" will be used to add a new progress bar, "available" is the
kernel's estimate of memory that is actually useable, and is more
accurate than (memory.free + memory.buffered) that Luci currently uses
to calculate available memory.

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
system.c