LinuxCommandLibrary

speedometer

Graphically monitor transfer rates through an interface

TLDR

Show graph for a specific interface

$ speedometer -r [eth0] -t [eth0]
copy

SYNOPSIS

speedometer [options] ...

PARAMETERS

-r
    Read from stdin instead of a device or file.

-t
    Use terminal title for display (implies -l).

-l
    Use an extra line for display (default).

-s scale
    Set vertical scale factor (default 256).

-S size
    Set horizontal size in characters (default 40).

-o offset
    Set the vertical offset (default -1).

-c color
    Sets the color palette (0-7).

-b
    Print current rate in bytes (default kilobytes).

-q
    Only print current rate. No histogram.

-f
    Disable file size limit checking (useful for pipes).

-v
    Prints program version.

-h
    Prints help message.


    The device or file to monitor.

DESCRIPTION

Speedometer is a command-line tool that provides a real-time graphical display of data transfer rates on a Linux system. It's particularly useful for monitoring network interface bandwidth, disk I/O throughput, or file transfer speeds.

Unlike some other monitoring tools, Speedometer focuses on simplicity and ease of use. It presents the data as a constantly updating histogram in the terminal, showing the recent history of transfer speeds. This allows users to quickly identify periods of high or low activity.

Speedometer can be configured to monitor specific devices or files. For example, one can monitor the network traffic on `eth0` or the I/O activity on `/dev/sda`. This focused monitoring can be very valuable for troubleshooting network issues or identifying performance bottlenecks. It calculates and displays the data transfer rate in a user-friendly format, typically using units like kilobytes per second (KB/s) or megabytes per second (MB/s).

EXAMPLES

  • To monitor the bandwidth usage of the eth0 network interface:
    speedometer eth0
  • To monitor the I/O activity on /dev/sda:
    speedometer /dev/sda
  • To monitor data piped into speedometer (for example, from `dd`):
    dd if=/dev/zero bs=1M count=100 | speedometer -r

SEE ALSO

vnstat(1), iftop(1), iotop(1)

Copied to clipboard