You are not logged in.
Hi,
I'm looking for something as simple as it can be, with one-line conky-like output like
dl: 150kpbs ul: 60kbps
- that's all I need.
EDIT:
I'm trying to achieve something with bmon, however I keep getting errors
bmon -p wlan0 -o format:fmt="$(item:name)\n"
zsh: command not found: item:name
Last edited by vi3dr0 (2009-12-04 18:53:58)
Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox
Offline
The tag $(item:name) is caught by zsh, it tries to interpret it as a command substitution and complains about not having such a command (of course). You should protect it from zsh with simple quotes to let it interpret by bmon:
bmon -p wlan0 -o 'format:fmt=$(item:name)\n'
Actually for download and upload rates you have to write 'attr:rxrate:bytes' and 'attr:txrate:bytes' instead of 'item:name', respectively.
In this case you always get bps, so if you would like it to be in kbps, you should catch the output and divide it by 1024. (Possibly some scripting is needed.)
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
Thank you very much barto, everything is crystal clear now
Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox
Offline