diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-24 21:05:12 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-24 21:05:20 +0200 |
commit | 62f3fc6838bf0e59bb490b0da229649bf86d847c (patch) | |
tree | 5ddd40aa8bf1abac9fd4f1d2627cb21b1c01e413 /wmiistatus.1 | |
parent | 753144d58b5b7edb104f78b0c0331ad150fcdb7c (diff) |
Implement getting current speed from network interfaces
The network interface must be supported by ethtool, as its syscall is
used for this. This is at least the case for e1000 cards.
Unfortunately, getting the speed needs root privileges. Therefore, you
have to enable it in configuration separately.
Diffstat (limited to 'wmiistatus.1')
-rw-r--r-- | wmiistatus.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wmiistatus.1 b/wmiistatus.1 index fe7e725..4a77a5f 100644 --- a/wmiistatus.1 +++ b/wmiistatus.1 @@ -56,6 +56,10 @@ Followed by a comma separated list of the modules (run, wlan, eth, battery, load If specified, color mode is on. This affects WLAN which will be displayed red if WLAN is down and the run_watch system which will display the status in red/green. .TP +.B get_ethspeed +Get current speed of the ethernet interface using the same mechanism as ethtool. You need to start wmiistatus with root privileges to use this. + +.TP .B normcolors Specifies the colors for background/border in the same format (html colorcodes) as wmii's configuration, that is #222222 #333333 for example. |