Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Display the monitored interface and (if available) name [enhancement] #37
Comments
|
I like the idea! We already show the interface name in the UI for each connection string, so we could definitely show either a specific interface near the "Total Rate" above (if using the -i flag), or "All Interfaces" (or some such) if not using -i. |
|
@imsnif Excellent! I installed a Rust IDE and I'll see if this is something that I can tackle when I have a chance. Do you have a good Rust resource or two you can recommend? |
|
I really liked The Book. Beware though, it can be a little overwhelming at times. :) This part of the project is (mostly) well covered in tests, so |
|
If somebody is interested to finish this PR, feel free to pick it up, because I have an issues with testing framework on my local machine |
|
Hi, @imsnif . |
|
Sure @captain-yossarian, that would be great :) |
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:
Maybe add it before the "Total Rate Up/Down" on the first line?
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
whatit 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!