dargslan-memory-profiler
Linux Memory Profiler — Per-process RSS, shared memory, swap usage, grouped by application. Zero external dependencies.
Installation
pip install dargslan-memory-profiler
CLI Usage
dargslan-memprof report # Full memory profile
dargslan-memprof system # System memory overview
dargslan-memprof top -n 30 # Top processes by RSS
dargslan-memprof grouped # Memory by application name
dargslan-memprof shm # Shared memory segments
dargslan-memprof json # JSON output
Python API
from dargslan_memory_profiler import MemoryProfiler
mp = MemoryProfiler()
sys_mem = mp.get_system_memory()
top_procs = mp.get_all_processes(limit=10)
mp.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-memory-profiler 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_memory_profiler-1.0.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_memory_profiler-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / dargslan_memory_profiler-1.0.0.tar.gz
| Download URL | dargslan_memory_profiler-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42a1a2b8c1d5fccb5da7341d6b9f60b0b473a69f4d832d2506eae5530ffc5efe
|
|
BLAKE2b-256 checksum How to use checksums |
55c2fc91cc261b1bcc0d3d2f1874bffdbb71059be0006261bb64045521f7c653
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_memory_profiler-1.0.0-py3-none-any.whl
| Download URL | dargslan_memory_profiler-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b296bb8b946fc0881e0a59d24a6cc11f0e146cde315167d83bfef8b23c6c8ff
|
|
BLAKE2b-256 checksum How to use checksums |
a4e29f3f8adfc51e3c6beb22a2061bc17b8c2b278430ffa2a725ea29904c82ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|