Closed harryqt closed 4 years ago
Hey @Dibbyo456, please check out the new version.
Thank you so much. One more thing; what needs to be change to get the output as megabits/s ?
Well, it uses `numfmt' to format the amount of bytes, so it automatically scales. The first thing that comes to mind is that you can create your own function to convert bytes and add an option to the config to select the right base for conversion (in your case 1048576). Something like that. That would really help the development of this little plugin and open-source software in general.
I have two system one with Ubuntu 16.04 another is 18.04. The plugin works perfectly fine with 18.04 but does not seem to work 16.04
After investigating I found
netstat -ie
output is different.Ubuntu 16.04 (
netstat 1.42
) returns:Ubuntu 18.04 (
net-tools 2.10-alpha
) returns:Can you make the script compatible with both versions?
The full ouput of
netstat -ie
of older version ofnetstat
is: