You are not logged in.
I am trying to display my current upload/download speed using a simple script. I guess it is called "bandwidth" or "throughput", not sure about the technically accurate term.
I have tried various network tools, none of which seem to be simply presenting me with this info so I can integrate it into my dwm status via setroot.
Do you guys have any suggestions? I just want the script to list something like: "8kb/52kb" meaning 8kb download, 52kb upload...
What I have tried:
iftop
iptraf
iptraf-ng
dstat
sysstat
Thanks for any suggestions!
Offline
well i do not know if it suits you, but conky have this out of box , just use downspeed ethX and upspeed ethX
O' rly ? Ya rly Oo
Offline
+1 you can use conky cli and pipe it to dzen and then place the dzen wherever you want on the screen.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
If you don't want to use conky, you can try this script, https://bitbucket.org/jasonwryan/workst … s/speed.sh , from jasonwryan. It's called from his dwm-status.sh. You may need to adjust the last line to fit your setup. I use it, it's in my configs as well. It requires net-tools, which has been deprecated now but is still in the repos.
Offline