free | dd | df
free - display amount of free and used memory
free -s
dd if=/dev/zero of=/swapfile bs=1024 count=1024
mkswap /swapfile
swapon /swapfile
swapoff /swapfile
df - disk space is used
free -s
dd if=/dev/zero of=/swapfile bs=1024 count=1024
mkswap /swapfile
swapon /swapfile
swapoff /swapfile
df - disk space is used
Comments
Post a Comment