dargslan-swap-analyzer
Linux Swap Usage Analyzer — Find which processes use swap, measure swap pressure, get optimization recommendations. Zero external dependencies.
Installation
pip install dargslan-swap-analyzer
CLI Usage
dargslan-swap report # Full swap analysis
dargslan-swap info # Swap summary
dargslan-swap processes # Per-process swap usage
dargslan-swap devices # Swap partitions/files
dargslan-swap pressure # Memory pressure info
dargslan-swap json # JSON output
Python API
from dargslan_swap_analyzer import SwapAnalyzer
sa = SwapAnalyzer()
info = sa.get_swap_info()
procs = sa.get_process_swap()
sa.print_report()
More from Dargslan
- Dargslan.com — Linux & DevOps eBook Store
- Free Cheat Sheets
- Blog & Tutorials
License
MIT — see LICENSE
Metadata
Release files for dargslan-swap-analyzer 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dargslan_swap_analyzer-1.0.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_swap_analyzer-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / dargslan_swap_analyzer-1.0.0.tar.gz
| Download URL | dargslan_swap_analyzer-1.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
524ad98f09481679c5b50a022480c6a40906ec7254cd6c83880089e69a28362d
|
|
BLAKE2b-256 checksum How to use checksums |
a6c6ce55024e15f8a314c2d342d00e4d6379726e4ad7134d0bd7abcd52a12775
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_swap_analyzer-1.0.0-py3-none-any.whl
| Download URL | dargslan_swap_analyzer-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
543b1610927976b9cd23634e33461d8567b9b2fc1adfdee45cbb55c6c0d64f2a
|
|
BLAKE2b-256 checksum How to use checksums |
d22c1060a722eca56392aa109afc83ed17b7c3ae2f5a5702afc87a69312b7fc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|