-
Notifications
You must be signed in to change notification settings - Fork 8
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
Does anyone have a working network-speed configuration for mac? #5
Comments
I'm not a mac user but I think the %RX, %TX and %AX formats in your network-speed-format-string should display the speed (RX for received, TX for transmitted and AX for RX+TX). It's not working? Can you provide more info like what values are displayed in your mode-line? Any error message during start or after eval network-speed? |
After further digging, it appears OS X has no /proc/net/dev So it makes sense with this network-speed-format-string: %NI#%RB#%TB#%RX#%TX#%AX I see the following values: Interface: en1 I'll try to see if there is an OS equivalent for /proc/net/dev. So far the closest I can find this this command:
en1 1500 <Link#5> 00:00:00:00:00:00 13112 0 1891446 617 0 90890 0 Let me know if anyone reports a solution. |
Yes. That's the problem. @Idorobots has a TODO entry to redo the network stats. It would be great if it can be done with OSX compatibility. I'm currently trying to write a mode to easier the use and config of mode-line-stats. |
@dhaley any updates on this issue? |
I am tying on OS X with this config https://gist.github.com/dhaley/5373450.
Here is the output of my ifconfig command for both my wireless and wired devices.
https://gist.github.com/dhaley/5373463
What do I need to change in my network-speed-format-string to see my speed?
Perhaps this could be included in the doco for Mac folks.
Thanks.
The text was updated successfully, but these errors were encountered: