Skip to main content

A Python package to add swap space to a Linux system

Reason this release was yanked:

Versioin numbering

Project description

add-swap-space

A Python package to add swap space to a Linux system

GitHub language count PyPI - Python Version PyPI - Wheel

GitHub issues PyPI - License PyPI - Downloads

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


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-7.0.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

add_swap_space-7.0.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page