From 62f3fc6838bf0e59bb490b0da229649bf86d847c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 24 Oct 2008 21:05:12 +0200 Subject: 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. --- wmiistatus.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wmiistatus.1') diff --git a/wmiistatus.1 b/wmiistatus.1 index fe7e725..4a77a5f 100644 --- a/wmiistatus.1 +++ b/wmiistatus.1 @@ -55,6 +55,10 @@ Followed by a comma separated list of the modules (run, wlan, eth, battery, load .B color 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. -- cgit v1.2.3