-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lan-bps chart #298
Comments
The answer would depend on what you're trying to display. I assume you're
looking to graph the receive transmission rate. There is really no well
defined upper limit you can use. You could use your adapters max rate, but
I think your actual rates would be way too low vs that to get a meaningful
graph.
Possibly the most reasonable graph you can plot is the current tx rate vs
max recorded tx rate for the session. It would be a bit fiddly to
implement, but should be possible.
…On Sun, 29 Dec 2024, 09:28 sfs-pra, ***@***.***> wrote:
I want to change the lan-bps.widget “label” to “chart”.
What is 100% ?
If you take as 100% ip link show eth0 |head -n1|awk -F qlen '{print $2}'
- the chart will be at zero all the time
You could take the number of bits per minute as 100%. I don't understand
how to get it in widget
—
Reply to this email directly, view it on GitHub
<#298>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFDXH3XNOXKN4YEFNIL2H66B3AVCNFSM6AAAAABUKUCW5KVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DEMJXGM4TANA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
For another implementation I've gone with a default min cap of 50 kb/s and otherwise max bw for the values represented in the history to mean 100%. The min cap ensures that values like 0.5 kb/s don't show up as 100% if there is otherwise no noticeable network traffic. So essentially something like |
How about this?
|
perfectly
And if two interfaces eth0 wlan0 ? |
This will sum up the traffic across all interfaces other than lo.
If you want a specific interface, you can replace !.lo with interface
name.
…On Tue, 31 Dec 2024, 06:29 sfs-pra, ***@***.***> wrote:
How about this?
perfectly
EthRcvd = RegEx("^(?!.*lo).*:[\t ]*([0-9]+)",Sum)
And if two interfaces eth0 wlan0 ?
—
Reply to this email directly, view it on GitHub
<#298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFBPQ44ZF2LFIRSTZNT2II2WDAVCNFSM6AAAAABUKUCW5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRWGE3TCNJSGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here either draw 2*chart or wait for a chart with two charts to appear :) |
I want to change the lan-bps.widget “label” to “chart”.
What is 100% ?
If you take as 100%
ip link show eth0 |head -n1|awk -F qlen '{print $2}'
- the chart will be at zero all the timeYou could take the number of bits per minute as 100%. I don't understand how to get it in widget
The text was updated successfully, but these errors were encountered: