LPI
117-201 · Question #241
How can the kernel parameter for the maximum size of the shared memory segment (shmmax) be changed to 2GB (2147483648 Bytes) on a running system? (Choose TWO correct answers.)
The correct answer is C. sysctl kernel.shmmax=2147483648 D. echo 2147483648 > /proc/sys/kernel/shmmax. See the full explanation below for the reasoning.
Question
How can the kernel parameter for the maximum size of the shared memory segment (shmmax) be changed to 2GB (2147483648 Bytes) on a running system? (Choose TWO correct answers.)
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
(28 responses)- A4% (1)
- B4% (1)
- C86% (24)
- E7% (2)
Community Discussion
No community discussion yet for this question.