Skip to content

Display the monitored interface and (if available) name [enhancement] #37

@squatto

Description

@squatto

It would be helpful if the UI showed the interface that's being monitored, and if possible, the name. This is especially useful when monitoring multiple interfaces at the same time.

e.g. on macOS I have these:

❯ networksetup -listallhardwareports

Hardware Port: Wi-Fi
Device: en0

Hardware Port: USB 10/100/1000 LAN
Device: en7

Maybe add it before the "Total Rate Up/Down" on the first line?

image

I would think that it would be preferred to be shown by default and not displayed through a command line switch.

If I had any experience with Rust I'd give it a go myself, but I unfortunately don't. I suspect that with the cross-platform nature of what it would require platform-specific processes to retrieve the interface name. However, given that the monitored interface (e.g. en0) is known, that could be displayed fairly easily?

Thanks!

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions