#1397
[Swap] How-to
# Determine the size of the swap file in megabytes and multiply by 1024 to determine the number of blocks. # For example, the block size of a 64 MB swap file is 65536 dd if=/dev/zero of=./swapfile bs=1024 count=65536 # Setup the swap file mkswap ./swapfile # enable the swap file immediately swapon ./swapfile
In /etc/fstab add :
/swapfile swap swap defaults 0 0
[Centos] Yum download RPM package Amazon Echo sur un Raspberry Pi, avec le mot clé de votre choix
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-6
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7
https://blog.sleeplessbeastie.eu/2016/12/26/how-to-display-processes-using-swap-space/
Display processes using swap space
Display processes using swap space sorted by used space
Display top ten processes using swap space with percentage values
Check swap (file and native) :