Title
#linux
MoodyMudit

MoodyMudit

08/27/2020, 6:23 AM
memory_free does not seem to be the same as available memory. For example, I have a system with 8GB memory, where mem_free was only 788MB and available memory was 6.4GB.
Stefano Bonicatti

Stefano Bonicatti

08/27/2020, 8:30 AM
Ah I understand, I saw you mention "free", but forgot it was the command not free memory. So yes MemAvailable is not in there, if you want to make a PR adding it, should be a 2 lines change: in the file and line I linked you, to add
MemAvailable
and in the table spec to add a new column to contain that value in
specs/linux/memory_info.table
MoodyMudit

MoodyMudit

08/27/2020, 11:21 AM
Thanks @Stefano Bonicatti. I’ll see to it.