I'm seeing the memory status on the luci-bootstrap theme report different values than free reports. Am I just missing something fundamental? Built from master at 921392e216
root@OpenWrt:/# free
total used free shared buff/cache available
Mem: 965988 24740 851512 440 89736 891532
Swap: 193196 0 193196
root@OpenWrt:/#
See, that doesn't explain the Used being reported as 5 times what free reports as used, or the cached vs buffered.
Edit: Let me clarify, I'm in the middle of tracking down a kernel memleak, which is already mis-reporting things under the 5.10+ kernel (5.4 is unaffected).. I just need to know what values I'm seeing are good, and if not, I won't rely on them (and just report it), but I wanted to make sure I wasn't just misreading it or not understanding the charts
Close enough it looks like.. True Used + Buff/Cache = Luci's Used. I don't know if this is intentional or a left-over of an older time, but I'll issue it.
Older apps & pages use "lua" language for processing most of the stuff on the server-side (router), but newer stuff mainly uses javascript (for processing at the client browser).
Both languages are pretty easy to read if you know general programming concepts, and generic basic/C/whatever syntax etc.