Comments (5)
maybe "ifstat -S 1 1" is a goog choice
from tmux-powerline.
Might me, the ifstat
I have locally don't have the -S switch though so I can't test it.
from tmux-powerline.
My ifstat
is at version 1.1, and ifstat 1 1
still works fine, first number specified the update time, and second number specified the number of updates before stopping. Thus, we can get one data every time.
from tmux-powerline.
I see this happened way back in 2012... and even back then, @erikw said their ifstat
didn't have a -S
opt. None of the machines I've checked have that option...
$ ifstat -S
ifstat: invalid option -- 'S'
Usage: ifstat [OPTION] [ PATTERN [ PATTERN ] ]
-h, --help this message
-a, --ignore ignore history
-d, --scan=SECS sample every statistics every SECS
-e, --errors show errors
-j, --json format output in JSON
-n, --nooutput do history only
-p, --pretty pretty print
-r, --reset reset history
-s, --noupdate don't update history
-t, --interval=SECS report average over the last SECS
-V, --version output version information
-z, --zeros show entries with zero activity
-x, --extended=TYPE show extended stats of TYPE
... and neither do they have a -q
, so this segment silently does nothing for me. What was the purpose of the -S
and -q
options?
from tmux-powerline.
@ryran I see that the ifstat
from Homebrew has the -S
option.
https://github.com/Homebrew/homebrew-core/blob/master/Formula/ifstat.rb
If you are on Linux, maybe see if the segment ifstat_sys
works better for you?
https://github.com/erikw/tmux-powerline/blob/master/segments/ifstat_sys.sh
from tmux-powerline.
Related Issues (20)
- LAN IP on Mac returns N/a despite script working as expected HOT 2
- Changing background color of the tmux window list HOT 2
- Powerline init not executed on first session creation HOT 1
- Wrong session_info in nested tmux session
- Support tmux-suspend in mode_indicator segment HOT 1
- powerline fails to start in termux HOT 1
- VCS segments not working for non-git repositories nested/down the path
- New segment vcs_rootpath
- New segment date_week
- New segment kubernetes_context
- Add dual-line status bar support HOT 2
- Status Justification always behaves as relatively centered HOT 1
- New segment vpn HOT 1
- vcs_rootpath shows backslash with tilde
- kubernetes_context add namespace information and display mode
- roll_text does currently only support filling up with empty space
- vcs_branch does not show correct branch for SVN repos if CWD!=rootpath
- Add support for untracked files in SVN to vcs_others.sh segment
- ifstat segment not supporting predictable network interface names
- vcs_others and vcs_modified output contains empty spaces on macOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-powerline.