Linux
De Chico Simões
Revisão de 15h48min de 8 de agosto de 2022 por Chico Simões (discussão | contribs) (Criou página com 'Dica para criar um swap: dd if=/dev/zero of=/swapfile bs=1024 count=512k chown root:root /swapfile chmod 0600 /swapfile mkswap /swapfile swapon /swapfile echo /swapfile none...')
Dica para criar um swap:
dd if=/dev/zero of=/swapfile bs=1024 count=512k chown root:root /swapfile chmod 0600 /swapfile mkswap /swapfile swapon /swapfile echo /swapfile none swap sw 0 0 >> /etc/fstab echo 10 | tee /proc/sys/vm/swappiness echo vm.swappiness = 10 | tee -a /etc/sysctl.conf