Linux swap usage analyzer — find which processes use swap, measure swap pressure, and get optimization recommendations
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dargslan_swap_analyzer-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_swap_analyzer-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
524ad98f09481679c5b50a022480c6a40906ec7254cd6c83880089e69a28362d
|
|
| MD5 |
01643c8a9100e6145cb6645114df2b74
|
|
| BLAKE2b-256 |
a6c6ce55024e15f8a314c2d342d00e4d6379726e4ad7134d0bd7abcd52a12775
|
File details
Details for the file dargslan_swap_analyzer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_swap_analyzer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
543b1610927976b9cd23634e33461d8567b9b2fc1adfdee45cbb55c6c0d64f2a
|
|
| MD5 |
9c0e2db1a2abe997ba5413ac29e32240
|
|
| BLAKE2b-256 |
d22c1060a722eca56392aa109afc83ed17b7c3ae2f5a5702afc87a69312b7fc1
|