LinuxCommandLibrary

bandwhich

Display the current network utilization by process, connection or remote IP/hostname.

TLDR

Show the remote addresses table only

$ bandwhich --addresses
copy


Show DNS queries
$ bandwhich --show-dns
copy


Show total (cumulative) usage
$ bandwhich --total-utilization
copy


Show the network utilization for a specific network interface
$ bandwhich --interface [eth0]
copy


Show DNS queries with a given DNS server
$ bandwhich --show-dns --dns-server [dns_server_ip]
copy

SYNOPSIS

bandwhich [FLAGS] [OPTIONS]

BANDWHICH

bandwhich - display current network utilization by process, connection and remote IP/hostname

DESCRIPTION

bandwhich provides a responsive terminal dashboard for displaying bandwidth information. It sniffs a given network interface and cross references it with the /proc filesystem. It is responsive to the terminal window size, displaying less info if there is no room for it. It will also attempt to resolve ips to their host name in the background using reverse DNS on a best effort basis.

It has a raw mode that can be used to parse and log this data.

FLAGS

-a, --addresses

Show remote addresses table only

-c, --connections

Show connections table only

-h, --help

Prints help information

-n, --no-resolve

Do not attempt to resolve IPs to their hostnames

-p, --processes

Show processes table only

-r, --raw

Print output to STDOUT so it can be parsed or redirected.

-s, --show-dns

Show DNS queries

-t, --total-utilization

Show total (cumulative) usages

-V, --version

Print version and exit

OPTIONS

-i, --interface interface

The network interface to listen on, eg. eth0

COPYRIGHT

Copyright © 2019 Aram Drevekenin License MIT: https://github.com/imsnif/bandwhich/blob/main/LICENSE.md
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

BUGS

Please report bugs here: https://github.com/imsnif/bandwhich/issues

SEE ALSO

iftop(1), lsof(1), nethogs(1), netstat(1), nload(1), ss(1),

Copied to clipboard