Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 315 Bytes

README.md

File metadata and controls

13 lines (13 loc) · 315 Bytes

Create memory swap

Create/change a memory swap file on your vps

apt-get install git && git clone https://github.com/gaiustemple/swap.git && cp swap/swap.sh /usr/bin/swap && chmod +x /usr/bin/swap

Usage

# To create 1GB swap file
swap
# or 
swap 1000
# 2.5GB file like this (u get the idea)
swap 2500