# dd if=/dev/zero of=/swapfile bs=1024 count=100000
This will create file (swapfile) of size 100 MB (round)
# mkswap /swapfile
Now add this file to your swap pool
# swpaon /swpafile
# dd if=/dev/zero of=/swapfile bs=1024 count=100000
This will create file (swapfile) of size 100 MB (round)
# mkswap /swapfile
Now add this file to your swap pool
# swpaon /swpafile