You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good idea. doing this was a common tradition in Unix tools.
It shouldn't be about the amount of seconds, but about the lines of output. For example, vmstat 1 prints a line of output every second, and re-prints the headers ever 25 lines - where 25 is assumed to be a useful terminal-window height.
As far as I can tell, vmstat has this number "25" hard-coded. But an even better approach is to figure out the terminal height. For an application that doesn't need to deal with being resized, the easiest thing is just use use the LINES environment variable - which all modern shells set.
dkropachev
added a commit
to dkropachev/scylla-bench
that referenced
this issue
Feb 28, 2022
Fix following things:
1. Get rid of 2 histograms per thread to reduce memory usage
2. Make latency printing non-blocking
3. Reorganize code
4. Get rid of histogram merging
fixesscylladb#80, scylladb#49, scylladb#73, scylladb#69
When running a test for a long period, it becomes unclear what the columns mean:
If e.g. every 10/20 seconds the header was printed, it will be easier to figure out what the meaning is of a column.
The text was updated successfully, but these errors were encountered: