Skip to main content

What is linktester?

linktester is a small link test application that uses iperf3 and ethtool to look for errors, problems on a network link. You could use it for example to test a new physical connection between a new card you installed on a server and an existing machine.

How does it work

The way is works is simple:

  • Capture statistics on the card using ethtool
  • Wait for a remote iperf3 server to start. Once is up, send TCP traffic to trigger for a few minutes any unwanted behaviour.
  • Capture statistics on the card using ethtool a second time and compare error counters
  • Report back

Requirements

  • iperf3 and iperf3 libraries (most distributions have RPM, DEB packages)
  • Python3
  • Rest of the dependencies will be installed with PIP and a virtual environment: rich, python3-iperf3

For example, on Fedora (or any RPM based system) you can install the dependencies as follows:

sudo dnf -y install iperf3 python3-ethtool libnl

On a Debian based distribution:

sudo apt-get install -y python3-ethtool iperf3

Virtual environment

I do recommend you use a virtual environment for the installation:

python3 -m virtualenv $HOME/virtualenv/linktester
. $HOME/virtualenv/linktester/bin/activate

For the rest of the installation instructions I will assume you have activated your virtual environment as explained above.

Installation

Once all the base bindings are installed then you can proceed to install from Pypi.org:

pip install linktester

Developers

If you want to contribute features you can do this:

python3 -m virtualenv $HOME/virtualenv/linktester
. $HOME/virtualenv/linktester/bin/activate
git clone git@github.com:josevnz/linktester.git
python setup.py develop

Bugs

Please report any bugs on the official linktester page

Metadata

Release files for linktester 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for linktester 0.0.3
File Interpreter ABI Platform
linktester-0.0.3-py3-none-any.whl Python 3 none any Details

Release files / linktester-0.0.3-py3-none-any.whl

Download URL linktester-0.0.3-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
824728f6ffc59ebaa87c09a19d0884ac6ff7b3262320a19accdd93dc9e1f5be8
BLAKE2b-256 checksum
How to use checksums
9857363612164bfdcbc82394cc3ebdaf53cca573222ad9974bfa84b524c1265d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page