0 purchases
addswapspace 1.1.0
add-swap-space
A Python package to add swap space to a Linux system
Description
This package provides a command-line interface to add swap space to a Linux system.
It prompts the user for the desired swap size in GB and then adds the swap space using the dd and mkswap commands. After the swap space has been added, it updates /etc/fstab to make the swap permanent.
Download & Install
pip install add-swap-space
Note: If pip is unrecognized try pip3 instead.
Usage
sudo python3 -m add_swap_space
Note: Make sure you have pip install under root user as updating /etc/fstab requires root permission.
Screenshot
Feedback/Issue
Have a feedback, feature request, known bug, please report it at this issue page
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.