Article title: speedometer views traffic. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Wget http://excess.org/speedometer/speedometer.py
Yum install python-urwid
Chmod 755 speedometer
./Speedometer. py-rx eth0-c-tx eth0
[Root @ fast ~] #./Speedometer. py
Usage: speedometer [options] tap [[-c] tap]...
Monitor network traffic or speed/progress of a file transfer. At least one
Tap must be entered.-c starts a new column, otherwise taps are piled
Vertically.
Taps:
[-F] filename [size] display download speed [with progress bar]
-F must be used if directly following another
File tap without an expected size specified
-Rx network-interface display bytes already ed on network-interface
-Tx network-interface display bytes transmitted on network-interface
Options:
-I interval-in-seconds eg. "5" or "0.25" default: "1"
-P use plain-text display (one tap only)
-B use old blocky display instead of smoothed
Display even when UTF-8 encoding is detected
-Z report zero size on files that don't exist
Instead of waiting for them to be created
Python Version: 2.4
Urwid> = 0.8.9 detected: yes Urwid> = 0.9.1 and UTF-8 encoding detected: yes