dargslan-bandwidth-monitor
Network Bandwidth Monitor — Track interface statistics, throughput, and traffic from /proc/net/dev. Real-time speed tests. Zero external dependencies.
Installation
pip install dargslan-bandwidth-monitor
CLI Usage
dargslan-bw report # Full bandwidth report
dargslan-bw stats # Interface statistics
dargslan-bw speed # Real-time throughput test
dargslan-bw speed -d 5 # 5-second speed test
dargslan-bw total # Total traffic counters
dargslan-bw errors # Interface errors/drops
dargslan-bw json # JSON output
Python API
from dargslan_bandwidth_monitor import BandwidthMonitor
bm = BandwidthMonitor()
stats = bm.get_stats()
throughput = bm.measure_throughput(duration=3)
bm.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-bandwidth-monitor 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_bandwidth_monitor-1.0.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_bandwidth_monitor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / dargslan_bandwidth_monitor-1.0.0.tar.gz
| Download URL | dargslan_bandwidth_monitor-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0db75945ba692025d67e1c821dff72ecc0bdf369254817aa70ad9baa4142fc77
|
|
BLAKE2b-256 checksum How to use checksums |
095bdad2c2d95d403318ebfe77749c16c2a7e546663cba18900cfc50083a944f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_bandwidth_monitor-1.0.0-py3-none-any.whl
| Download URL | dargslan_bandwidth_monitor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
577c3db477176ae650b50d3911ec34ba28e9c6e543f213f5cb97e33155073cc1
|
|
BLAKE2b-256 checksum How to use checksums |
6072740ca114373d0db54baffbb7fcf1b9badd38d43977a6394c747aaddadeed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|