#20790: luci status : wrong memory readings
---------------------+---------------------------------------
Reporter: bolvan | Owner:
Type: defect | Status: new
Priority: low | Milestone: Designated Driver (Trunk)
Component: luci | Version: Trunk
Resolution: | Keywords:
---------------------+---------------------------------------
Comment (by jow):
LuCI uses the values from `ubus call system info` which in turn calls
`sysinfo()` from the C library. Furthermore "Total available" in LuCI is
the sum of free and buffered, since IO buffers are freed if an application
needs memory, therefor they do not really take away memory.
The `free` command uses `sysinfo()` as well so it will report the same
values. It is more likely that the memory usage simply changed between
looking at luci and invoking `free` in the terminal.
--
Ticket URL: <https://dev.openwrt.org/ticket/20790#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets