Swap on ubuntu command line actions

    0

    0

    linuxcommandswap

    Command and config swap usage linux ubuntu

    Library: Linux

    # On et off du swap
    swapoff -a
    swapo -a
    # Limit swap usage
    # ETat actuel
    cat /proc/sys/vm/swappiness
    # Modif live
    sysctl -w vm.swappiness=10
    # Config hard
    # /etc/sysctl.conf
    # vm.swappiness = 10
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.