Skip to main content

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.

PyPI version License: MIT

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

License

MIT — see LICENSE

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

dargslan_swap_analyzer-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dargslan_swap_analyzer-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for dargslan_swap_analyzer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 524ad98f09481679c5b50a022480c6a40906ec7254cd6c83880089e69a28362d
MD5 01643c8a9100e6145cb6645114df2b74
BLAKE2b-256 a6c6ce55024e15f8a314c2d342d00e4d6379726e4ad7134d0bd7abcd52a12775

See more details on using hashes here.

File details

Details for the file dargslan_swap_analyzer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_swap_analyzer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 543b1610927976b9cd23634e33461d8567b9b2fc1adfdee45cbb55c6c0d64f2a
MD5 9c0e2db1a2abe997ba5413ac29e32240
BLAKE2b-256 d22c1060a722eca56392aa109afc83ed17b7c3ae2f5a5702afc87a69312b7fc1

See more details on using hashes here.

Supported by

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