Skip to content

ketansp/create-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

create-swap

Run the shell script on your server to create a swap memory of 4gb at /swapfile location. Make sure you have at least this much space free on your primary disk. To change the size, alter the parameter value in fallocate command in the shell script.

To check current ram and swap usage, run free -m or top

To check free space on your disk, run df -h

About

Create swap space on linux servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages