LPI
201-450 · Question #136
201-450 Question #136: Real Exam Question with Answer & Explanation
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
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
Community Discussion
No community discussion yet for this question.