swap-manager
Swap Manager is a simple yet powerful Bash script for easy management of swap files and system swappiness on your Linux VPS. Designed for developers, system administrators, and enthusiasts, it provides a straightforward way to optimize system performance without complex commands.
Built for reliability and convenience, the Swap Manager script ensures your system's memory settings are configured correctly to prevent performance bottlenecks.
β¨ Featuresβ
π Dynamic Swap File Creation β easily create and manage swap files of any size.
β
Automated Disk Space Check β prevents creation of swap files larger than available storage.
π Persistent Swappiness Settings β configure custom or default swappiness values that persist across reboots.
π Real-time Status Display β view current swap usage and swappiness settings at a glance.
π Easy Swap Deactivation β safely remove swap files with a confirmation prompt.
βοΈ Simple GRUB Configuration β option to modify GRUB for swapaccount=1 to enable swap accounting.
π§ Requirementsβ
Linux VPS (Debian/Ubuntu recommended)
sudo access for managing system settings
Basic command-line usage