-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature: «batch» mode to print values to stdout #42
Comments
Just another ztop fan here, but it's worth noting that all this information is already available in machine-parseable form via That said, it doesn't look like it would be too much trouble to just dump a single tick of tab-separated data to stdout if stdout isn't a tty. I'm tinkering with this in a branch now; nothing fancy, just emitting the pre-filtered, tab-separated values from I can prepare an MR if @asomers thinks this sounds like a good idea. |
That would definitely have some uses. My only reservation is whether the UI would be general enough to satisfy most users. If not, would it be a better idea to split the |
There is some behavior in I'm not sure if that's worth a whole new crate though... unless you're considering something like a dual lib/bin setup? Though even that could be done with just a |
Hello,
I would love having a «batch» mode to print output of ztop to stdout, in a machine-parsable way.
Unfortunately I can’t code…
Great tool anyway. It fills a gap between zpool iostat and top -m io.
The text was updated successfully, but these errors were encountered: