首页 > Linux考试认证

speedometer查看流量

时间:2010-01-30 03:13:43  作者:  我要投稿
Linux初探欢迎您的投稿,投放方法请点击这里查看,我们会定期赠送精美小礼品给优秀的投稿作者。海纳百川 取则行远!LinuxGoo欢迎您的到来。
wget http://excess.org/speedometer/speedometer.pyyum install python-urwidchmod 755 speedometer./speedometer.py -rx eth0 -c -tx eth0[root@fast ~]# ./sp......

  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 received 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

如果您需转载 speedometer查看流量,请注明来自LinuxGoo.com,其版权归原作者所有。请广大网友留言时遵纪守法,使用文明用语。如果您在应用中有什么问题,请在下面留言,我们会尽快解答。
来顶一下
近回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
相关文章
栏目热门