栏目导航
热点推荐
- Linux新手要了解的十个知识点
- Linux下禁止别人ping
- Linux设备文件简介
- 如何修复Linux文件系统错误
- 笔/面试中常考到的一些linux脚本
- Linux操作系统上安装MySQL数据库
- Linux操作系统下隐藏文件的新方
- linux操作系统下的域名解析系统
- Linux与Unix比较Ftp/Telnet服务
- 虚拟主机为什么大多要使用Linux
- LinuxIPv6环境下DNS服务器配置攻
- 服务器维护:RHEL5系统下故障处
阅览排行
speedometer查看流量
www.jz123.cn 2010-02-24 来源: 中国建站 责任编辑(袁袁) 我要投递新闻
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
上一篇:剖析SUSE Linux Tomcat自动启动 下一篇:linux系统密码忘记后的5种方法