Skip to content
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

tracertstats is not entirely realtime on FreeBSD #55

Open
salcock opened this issue Nov 14, 2017 · 0 comments
Open

tracertstats is not entirely realtime on FreeBSD #55

salcock opened this issue Nov 14, 2017 · 0 comments
Labels
tools Specific to the included tools

Comments

@salcock
Copy link
Contributor

salcock commented Nov 14, 2017

When running tracertstats -i 1 on FreeBSD with more than one processing thread, output tends to appear in bursts of several lines appearing at multiple second intervals rather than the one line per second that would be expected.

Attaching truss to the running process seems to make the program behave correctly again, so it is a bit hard to get visibility into what is going on.

Program also runs fine if only one processing thread is used (i.e. -t 1 on the CLI).

Adding a specific "fflush(stdout);" to the output function doesn't change anything, so it doesn't appear to be a stdio buffering issue.

@salcock salcock added the tools Specific to the included tools label May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Specific to the included tools
Projects
None yet
Development

No branches or pull requests

1 participant