Skip to content

Instantly share code, notes, and snippets.

@sids
Created August 13, 2008 07:06
Show Gist options
  • Save sids/5209 to your computer and use it in GitHub Desktop.
Save sids/5209 to your computer and use it in GitHub Desktop.
Linux: Setting up auxiliary swap
# setting up auxiliary swap in linux
dd if=/dev/zero of=/auxswap bs=1M count=2048
mkswap /auxswap
swapon /auxswap
# trun it on:
swapon -s
# turn it off:
swapoff /auxswap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment