Skip to main content

Display simple throughput statistics for network interface controllers. Requires Linux kernel >= 2.6

Project description

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.

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

ifstat-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file ifstat-1.0.3.tar.gz.

File metadata

  • Download URL: ifstat-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ifstat-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0524bc90b511d4d507508dd1ea8f4677fab126e084f3bf412ef540bcfbfdd185
MD5 cd4517df5186314fd2f7e782dfb81220
BLAKE2b-256 ebc6540743343200491e06239431c79f605abf8b4c10f4a7747605d172a1ef9b

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