Estimating total memory usage in any Linux system
Valdis Kl=?utf-8?Q?=c4=93?=tnieks
valdis.kletnieks at vt.edu
Wed May 20 01:32:22 EDT 2020
On Wed, 20 May 2020 10:26:50 +0530, Pintu Agarwal said:
> I know it is weird to manually arrive a MemTotal from the values of meminfo.
> But I am actually looking for general formula.
You missed the point - the "general formula" has probably changed over the years.
> With this I could arrive to some result, but I have some doubts:
> * Is Mapped already included in Active/Inactive (file) ? Because
> mapped is coming from NR_FILE_MAPPED.
And that's the sort of question that can have different answers for 3.18 and 5.7.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200520/959615c7/attachment-0001.sig>
More information about the Kernelnewbies
mailing list