| Class | Rethtool::LinkStatus |
| In: |
lib/rethtool/link_status.rb
|
| Parent: | Object |
Retrieve the current link status of an interface.
Usage is very simple:
LinkStatus.new("eth0").up?
or
LinkStatus.new("eth0").down?