A Python package to add swap space to a Linux system
Project description
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. Report any issue at issue page
Usage
sudo python3 -m add-swap-space
Note:
Make sure you have pip install under root user.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
add_swap_space-1.0.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for add_swap_space-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25f3641cf61af9ac2a01ecefc0f0ed6fea9d881910441a5ce0c794ece177090c |
|
MD5 | 2546000b1e3fa222d010c78096b6977c |
|
BLAKE2b-256 | a79ca9b6586ed41eb874c2eaca74faf645ea853f5b4efb7c2a1ac3860276ca2f |