ifstat
Display simple throughput statistics for network interface controllers. Requires Linux kernel >= 2.6
Output can be viewed in terminal. Additionally you’ll find the output in a file suitable for parsing from within your application. The program can be executed as daemon to provide you reliable network throughput numbers at any given time.
Example output
eth0 thruput [bytes/s] total 1s 5s 15s Receiving 1982418 416 416 412 Transmitting 4029588 1296 1296 1287
Installation
Method 1: Packaged installation
$ # make sure easy_install it there (debian): $ sudo apt-get install python-setuptools $ sudo easy_install ifstat
Method 2: Source installation
$ git clone https://github.com/prinzdezibel/ifstat $ cd ifstat $ python setup.py develop
Run program
$ ifstat --help
File based program output
Start program as foreground or daemon process. Throughput numbers will be written to a file periodically:
$ cat /var/lib/ifstat/thruput.txt
Parse this file to retrieve relevant data for your application.
Metadata
Release files for ifstat 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ifstat-1.0.3.tar.gz | 3.3 kB | Without provenance | Details for ifstat-1.0.3.tar.gz |
Release files / ifstat-1.0.3.tar.gz
| Download URL | ifstat-1.0.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0524bc90b511d4d507508dd1ea8f4677fab126e084f3bf412ef540bcfbfdd185
|
|
BLAKE2b-256 checksum How to use checksums |
ebc6540743343200491e06239431c79f605abf8b4c10f4a7747605d172a1ef9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ifstat 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.