Skip to content

msergiy87/add-swapfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

add-swapfile

Create and mount SWAPFILE and add value "vm.swappiness=5".

Requirements

Ubuntu or Centos system and some free space on the disk.

Distros tested

Currently, this is only tested on ubuntu 14.04 and centos 6.7. It should theoretically work on older versions of Ubuntu or Debian based systems.

Usage

./swap_add.sh /swapfile 1G

About

Create and mount SWAPFILE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages