I am new to running a linux server and wanted to know the difference between the total memory shown with the top
command (which appears to be 78GB)
and the free
command which shows that I have 743GB of memory
Thank you in advance!
I am new to running a linux server and wanted to know the difference between the total memory shown with the top
command (which appears to be 78GB)
and the free
command which shows that I have 743GB of memory
Thank you in advance!
top
's free figure is 90G. There are + signs next to the total, used and buff/cache values. top
reports the same sizes as free
.
See the top
manual page, in particular the description of the interactive E
command in section 4a:
E :Enforce-Summary-Memory-Scale in Summary Area
With this command you can cycle through the available
summary area memory scaling which ranges from KiB
(kibibytes or 1,024 bytes) through EiB (exbibytes or
1,152,921,504,606,846,976 bytes).
If you see a `+' between a displayed number and the
following label, it means that top was forced to truncate
some portion of that number. By raising the scaling
factor, such truncation can be avoided.
I greatly appreciate any further insights you can provide in helping me become a better linux user!
– CyberStems Feb 04 '21 at 20:24E
is not an option but an interactive command, which you use while top
is running.
– berndbausch
Feb 05 '21 at 00:01