Specify the network interface to monitor

Asked by Cédric

Hello.

I would like to know if/where it is possible to specify the network interface to monitor ?

I'm asking that because I've 2 interfaces and I always have
^0kB/s v0kB/s
even where there are transfers, so I don't know which interface is monitored.

I would like only eth0 to be monitored.

Thanks for your help.
Cédric.

Question information

Language:
English Edit question
Status:
Answered
For:
byobu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dustin Kirkland  (kirkland) said :
#1

This was added a while back. Quoting the byobu(1) manpage:

       network - instantaneous upload/download bandwidth in kB/s over the last 3 seconds; displayed in the lower bar toward the right in
       white text on a purple background with a leading '^' sign indicating 'up' and 'v' sign indicating 'down'; override the default
       interface by specifying an alternate interface with MONITORED_NETWORK=eth1 in $HOME/.byobu/statusrc

Can you help with this problem?

Provide an answer of your own, or ask Cédric for more information if necessary.

To post a message you must log in.