Skip to content
πŸ“Š Network bandwidth plugin for tmux
Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Add a screenshot Oct 18, 2019
scripts Add Linux support Oct 18, 2019
LICENSE Add README and LICENSE Oct 17, 2019
README.md Add cross links to other plugins Jan 6, 2020
tmux-network-bandwidth.tmux Correction for a more consistent code Oct 18, 2019

README.md

Network bandwidth plugin for tmux

GitHub

Shows the network bandwidth in the status line.

tmux-network-bandwidth

Installation

Requirements

  • awk
  • netstat
  • numfmt

With Tmux Plugin Manager

Add the plugin in .tmux.conf:

set -g @plugin 'xamut/tmux-network-bandwidth'

Press prefix + I to fetch the plugin and source it. Done.

Manual

Clone the repo somewhere. Add run-shell in .tmux.conf:

run-shell PATH_TO_REPO/tmux-network-bandwidth.tmux

NOTE: this line should be placed after set-option -g status-right ....

Press prefix + : and type source-file ~/.tmux.conf. Done.

Usage

Add #{network_bandwidth} somewhere in the right status line:

set-option -g status-right "#{network_bandwidth}"

then you will see the bandwidth in the status line: ↓3.5MiB/s β€’ ↑134KiB/s

Other plugins

License

tmux-network-bandwidth plugin is released under the MIT License.

You can’t perform that action at this time.