Linux use Swap file for memory
sudo su -
sudo swapon --show
free -h
df -h
sudo fallocate -l 10G /swapfile
ls -lh /swapfile
sudo chmod 600 /swapfile
ls -lh /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
free -h
sudo su -
sudo swapon --show
free -h
df -h
sudo fallocate -l 10G /swapfile
ls -lh /swapfile
sudo chmod 600 /swapfile
ls -lh /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
free -h
Comments
Post a Comment