swapfile.sh - SaltwaterC/sysadmin-tools GitHub Wiki

Usage mode

Place the script to your server machine. Make it executable and run. Invoke it with -h or --help for more details.

Dependencies

  • bash
  • coreutils
  • util-linux-ng (under Debian and derivatives)
  • grep

Notes

Developed and tested under Ubuntu. May work under other Linux flavors.