Skip to main content

swapsys - a linux cmd line utility to manage swap space

Swapsys PyPi Package Upload

PyPI Version Libraries.io SourceRank PyPI - Python Version PyPI - Wheel

GitHub issues PyPI - License PyPI - Downloads

Description

This package provides a command-line interface to manage 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. It also has an options of removing, increasing and decreasing the memory size.

Download & Install

pip install swapsys
sudo pip install swapsys

Note: Please note that some operating systems might be equipped with the python3 and pip3 commands instead of python and pip.

Usage

swapsys

Note: Make sure you provide full path of swapsys (which swapsys to get the path) with sudo or run with root user as updating /etc/fstab requires root permission.

Screenshot

Downloading the package:

pypi-swapsys.png

Run the utility

pypi-swapsys.png

Feedback/Issue

Have a feedback, feature request, known bug, please report it at this issue page

Metadata

Release files for swapsys 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swapsys 1.0.1
File Size Uploaded Provenance
swapsys-1.0.1.tar.gz 16.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for swapsys 1.0.1
File Interpreter ABI Platform
swapsys-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 MB

Release files / swapsys-1.0.1.tar.gz

Download URL swapsys-1.0.1.tar.gz
Size 16.7 MB
Tags Source
SHA-256 checksum
How to use checksums
ad0a4ade0e1ed3bb879e6ffa1c28d7e81d8ec8975e61efa7ac7b729185e518fd
BLAKE2b-256 checksum
How to use checksums
8be03731b9fcf9dd0285543df63c06981d44cebc1f57acdfeeaf1ae9330fbe22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / swapsys-1.0.1-py3-none-any.whl

Download URL swapsys-1.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8ccbf9ed0879a9e1cb12181b5749a2c27767bd2ab700b6ed411badfcc10f112
BLAKE2b-256 checksum
How to use checksums
1457528aed94db27a4e2178226e20434a74a68e9d73a4868b5252caa12d2eb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Security for swapsys 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page