Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

i3: i3status - Network throughput [closed]

I am new to i3 and would like to inquire if anyone knows how to show the combined traffic in Mbit/s running through (in and out) all network interfaces (ETH or WLAN) in real-time in the status bar?

I would like to do it via the config file if possible.

like image 977
Bluedevil678 Avatar asked Jan 14 '15 21:01

Bluedevil678


People also ask

What is load in i3status?

Load. Gets the system load (number of processes waiting for CPU time in the last 1, 5 and 15 minutes). It is possible to define a max_threshold that will color the load value red in case the load average of the last minute is getting higher than the configured threshold. Defaults to 5.

Where is i3status located?

The default location is $XDG_CONFIG_HOME/i3status-rust/config.


1 Answers

You can use i3pystatus instead of plain i3status. It has a module for network and showing the metric, below is the relevant doc:

https://i3pystatus.readthedocs.io/en/latest/configuration.html#internet-connectivity

An example config with what you want is here: https://i3pystatus.readthedocs.io/en/latest/configuration.html

By changing format_up you can change which metric is shown.

like image 118
Darek Avatar answered Sep 30 '22 23:09

Darek