Project

rethtool

0.01
No release in over 3 years
Low commit activity in last 3 years
Partial Ruby wrapper around the SIOCETHTOOL ioctl
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 10.0
~> 2.4

Runtime

 Project Readme

Rethtool¶ ↑

Have you ever needed to get at some details about a network interface from inside a Ruby script, but got stuck trying to parse the output of ethtool? If so, you’re one-in-a-million, but at least you don’t have to write an ethtool parser any more. use Rethtool instead!

At present, Rethtool only supports a couple of things:

  • Retrieve various details about the interface (link speed, duplex, etc).

  • Determine if the link is currently up or down.

Adding extra SIOCETHTOOL features is relatively straightforward, thanks to cstruct and the base infrastructure already in place, so feel free to have a hack and send me a patch.

Contributing to rethtool¶ ↑

Send me patches via e-mail, please (theshed+rethtool@hezmatt.org). I might eventually notice a pull request on github, but e-mail goes straight to my frontal lobe.

Copyright © 2011 Matt Palmer <mpalmer@hezmatt.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see <www.gnu.org/licences/>