Linux command
speedometer 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
speedometer -r [eth0] -t [eth0]
Example
speedometer -r [eth0]
Example
speedometer -t [eth0]
Example
speedometer -f [path/to/file] [expected_size]
Example
speedometer -r [eth0] -c -t [eth0]
Example
speedometer -i [seconds] -r [eth0]
说明
speedometer displays real-time network traffic or file transfer speeds as ASCII graphs in the terminal. It reads data from network interfaces or monitors file growth, presenting the information visually with customizable scales and refresh rates. Multiple data sources (taps) can be displayed simultaneously in columns, allowing comparison of upload/download speeds or monitoring multiple interfaces. The tool is useful for monitoring transfers, debugging network issues, and visualizing bandwidth usage.
参数
- -r _interface_
- Monitor received bytes on network interface
- -t _interface_
- Monitor transmitted bytes on network interface
- -f _filename_ _size_
- Track file download with optional progress bar
- -c
- Start a new display column
- -i _seconds_
- Set refresh interval (default: 1)
- -b
- Use blocky display instead of smooth characters
- -l
- Use linear scale instead of logarithmic
- -s
- Show speeds in bits/second instead of bytes/second
- -m _max_
- Set maximum bytes/second for chart
- -n _min_
- Set minimum bytes/second for chart
- -k _colors_
- Terminal color support (1, 16, 88, or 256)
- -p
- Plain text display mode
- -x
- Exit when file reaches expected size
- -z
- Report zero for non-existent files
FAQ
What is the speedometer command used for?
speedometer displays real-time network traffic or file transfer speeds as ASCII graphs in the terminal. It reads data from network interfaces or monitors file growth, presenting the information visually with customizable scales and refresh rates. Multiple data sources (taps) can be displayed simultaneously in columns, allowing comparison of upload/download speeds or monitoring multiple interfaces. The tool is useful for monitoring transfers, debugging network issues, and visualizing bandwidth usage.
How do I run a basic speedometer example?
Run `speedometer -r [eth0] -t [eth0]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r _interface_ do in speedometer?
Monitor received bytes on network interface