1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 18:53:56 +02:00
gluon-packages/libs/lua-ethtool-stats
2014-08-04 20:08:33 +02:00
..
src Add new package lua-ethtool-stats containing a minimal interface to replace ethtool -S 2014-08-04 20:08:33 +02:00
Makefile Add new package lua-ethtool-stats containing a minimal interface to replace ethtool -S 2014-08-04 20:08:33 +02:00
README Add new package lua-ethtool-stats containing a minimal interface to replace ethtool -S 2014-08-04 20:08:33 +02:00

This package provides a Lua module with the name 'ethtool_stats'. The module has
a single function, interface_stats().

interface_stats() expects one parameter, the name of the interface to get the
stats from. It returns a table with string keys and numeric values which
contains the stats returned by ethtool (the same `ethtool -S interface` would
yield).