summaryrefslogtreecommitdiff
path: root/contrib/net-speed.sh
AgeCommit message (Collapse)Author
2020-05-01contrib/net-speed: extend interface list filter (#376)Ivan
1) Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1) 2) Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1) 3) Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0) 4) Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da) 5) Classic, unpredictable kernel-native ethX naming (example: eth0) I've used usb/eth dongle with name enx..., and need only this one name, but extend filter to include other ones as well. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Co-authored-by: Orestis Floros <orestisflo@gmail.com>
2020-04-01Update net-speed.shreuben honigwachs
Added the common prefix `enx` as possible string for interface detection. See https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
2017-01-02Consolidate measure speed script (#188)Moritz Warning
* remove old net speed scripts * add reworked net-speed script * add space between rate and speed suffix it is easier to parse visually * only use intervals greater zero * add ifaces examples * catch negativ byte count happens when the counter resets