[ 原始碼: ruby-rethtool ]
套件:ruby-rethtool(0.0.5-2)
partial wrapper around the SIOCETHTOOL ioctl
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.
其他與 ruby-rethtool 有關的套件
|
|
|
|
-
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- 或者 ruby-interpreter
- 套件暫時不可用