GoConqr has a new look! Let us know what you think.

Flashcards

Ch 3.14 Change Kernel parameters

Archimed Nemes KodeKloud - Linux Easy English 13 cards

Cards in this deck (13)

  1. 1View all Kernel parameters currently in use.sudo sysctl -a
  2. 2What does vm indicate in sysctl -a output?virtual memory
  3. 3Disable net ipv6.sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
  4. 4check the current value of parametersudo sysctl
  5. 5How to make a change persistent?Add a file to /etc/sysctl.d/ directory
    (should finish with conf extension)
  6. 6How to view memory-related parameters?sysctl -a | grep vm
  7. 7What does high value of vm.swappiness indicate?High value will make the Kernel use the disk more often
  8. 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
  9. 9How to make Linux immediatly adjust pawametes in previous slide?sudo sysctl -p /etc/sysctl.d/swap-less.conf
  10. 10Check current Kernel version (after this Linkedin)uname -r
  11. 11Which is webaddress for Ubuntu kernel download?https://kernel.ubuntu.com/~kernel-ppa/mainline/
  12. 12Download Linux image from Ubuntu kernel websitewget
  13. 13Install downloaded kernel image (Ubuntu)sudo dpkg -i

Information

Description
Easy KodeKloud - Linux Flashcards on Ch 3.14 Change Kernel parameters, created by Archimed Nemes on 15/05/2022.
Created by
Archimed Nemes
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?