Skip to main content

Network bandwidth monitor — track interface statistics, throughput, and traffic in real-time from /proc/net/dev

Project description

dargslan-bandwidth-monitor

Network Bandwidth Monitor — Track interface statistics, throughput, and traffic from /proc/net/dev. Real-time speed tests. Zero external dependencies.

PyPI version License: MIT

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

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_bandwidth_monitor-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

dargslan_bandwidth_monitor-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file dargslan_bandwidth_monitor-1.0.0.tar.gz.

File metadata

File hashes

Hashes for dargslan_bandwidth_monitor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0db75945ba692025d67e1c821dff72ecc0bdf369254817aa70ad9baa4142fc77
MD5 505177551c6bbaabdb6615ff0184b677
BLAKE2b-256 095bdad2c2d95d403318ebfe77749c16c2a7e546663cba18900cfc50083a944f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dargslan_bandwidth_monitor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 577c3db477176ae650b50d3911ec34ba28e9c6e543f213f5cb97e33155073cc1
MD5 74cce790a218b5f6269a90df08eb71fd
BLAKE2b-256 6072740ca114373d0db54baffbb7fcf1b9badd38d43977a6394c747aaddadeed

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