Flashcards
Ch 3.14 Change Kernel parameters
Flashcards do conjunto (13)
- 1View all Kernel parameters currently in use.sudo sysctl -a
- 2What does vm indicate in sysctl -a output?virtual memory
- 3Disable net ipv6.sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
- 4check the current value of parametersudo sysctl
- 5How to make a change persistent?Add a file to /etc/sysctl.d/ directory
(should finish with conf extension) - 6How to view memory-related parameters?sysctl -a | grep vm
- 7What does high value of vm.swappiness indicate?High value will make the Kernel use the disk more often
- 8How to change a value of vm.swappiness to 29 persistent1. sudo vi /etc/sysctl.d/swap-lless.conf (name is arbitary)
add to contents
vm.swappiness=29 - 9How to make Linux immediatly adjust pawametes in previous slide?sudo sysctl -p /etc/sysctl.d/swap-less.conf
- 10Check current Kernel version (after this Linkedin)uname -r
- 11Which is webaddress for Ubuntu kernel download?https://kernel.ubuntu.com/~kernel-ppa/mainline/
- 12Download Linux image from Ubuntu kernel websitewget
- 13Install downloaded kernel image (Ubuntu)sudo dpkg -i
Informações
- Descrição
- Easy KodeKloud - Linux FlashCards sobre Ch 3.14 Change Kernel parameters, criado por Archimed Nemes em 15-05-2022.
- Criado por
- Archimed Nemes
- Visualizações
- 1
- Avaliação