nerdexam
LPI

117-102 · Question #634

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:

The correct answer is A. "total mem" in /proc/meminfo. 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…

108 Essential System Services

Question

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:

Options

  • A"total mem" in /proc/meminfo
  • B"total mem" in /proc/memused
  • C"total mem" in /proc/memcurrent
  • DNone of the choices

How the community answered

(32 responses)
  • A
    84% (27)
  • B
    3% (1)
  • C
    3% (1)
  • D
    9% (3)

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 LowTotal: 118180 kB LowFree: 19108 kB SwapTotal: 522072 kB SwapFree: 522056 kB Mapped: 32936 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

Topics

#/proc/meminfo#memory management#kernel memory#proc filesystem

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice