nerdexam
LPI

201-450 · Question #136

It is possible to configure kernel parameters at runtime (e.g. the maximum size of the shared memory segment (shmmax)). In which TWO ways can this be changed to 2GB (2147483648 Bytes) on a running…

The correct answer is C. sysctl kernel.shmmax=2147483648 D. echo 2147483648 > /proc/sys/kernel/shmmax. See the full explanation below for the reasoning.

202 Linux Kernel

Question

It is possible to configure kernel parameters at runtime (e.g. the maximum size of the shared memory segment (shmmax)). In which TWO ways can this be changed to 2GB (2147483648 Bytes) on a running system?

Options

  • AEdit /etc/shmmax and set the parameter to 2147483648.
  • Bsysctl shmmax=2147483648.
  • Csysctl kernel.shmmax=2147483648
  • Decho 2147483648 > /proc/sys/kernel/shmmax
  • Eexport kernel.shmmax=2147483648

How the community answered

(44 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    80% (35)
  • E
    11% (5)

Topics

#sysctl#kernel parameters#/proc/sys/kernel#shmmax

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice