You can find out how much memory the kernel is using by…

You can find out how much memory the kernel is using by taking the total amount of memory in your machine and subtracting from it the amount of:

You can find out how much memory the kernel is using by taking the total amount of memory in your machine and subtracting from it the amount of:

A.
“total mem” in /proc/meminfo

B.
“total mem” in /proc/memused

C.
“total mem” in /proc/memcurrent

D.
None of the choices

Explanation:
You can find out how much memory the kernel is using by taking the total amount of memory in your machine and subtracting from it the amount of “total mem”

in /proc/meminfo or the output of the command `free’.
output of the command `free’.
See the sample output of /proc/meminfo
MemTotal: 118180 kB
MemFree: 19108 kB
Buffers: 4800 kB
Cached: 37860 kB
SwapCached: 8 kB
Active: 38564 kB
Inactive: 24820 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 118180 kB
LowFree: 19108 kB
SwapTotal: 522072 kB
SwapFree: 522056 kB
Dirty: 100 kB
Writeback: 0 kB
Mapped: 32936 kB
Slab: 7084 kB
Committed_AS: 64768 kB
PageTables: 1036 kB
VmallocTotal: 901112 kB
VmallocUsed: 3252 kB
VmallocChunk: 897140 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB
See the sample output of fee -m command
total used free shared buffers cached
Mem: 115 96 18 0 4 37
-/+ buffers/cache: 55 60
Swap: 509 0 509



Leave a Reply 0

Your email address will not be published. Required fields are marked *