Re: Estimating total memory usage in any Linux system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 May 2020 at 11:02, Valdis Klētnieks <valdis.kletnieks@xxxxxx> wrote:
>
> 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.
>
I am okay for even the latest kernel. I am even trying to get this on
5.5 kernel or higher.
But my questions remains the same.
What will be the equation for even 5.7 kerne ?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux