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

Showing result on display and log file at the same time #1841

Open
CrazySaibot opened this issue Feb 21, 2025 · 2 comments
Open

Showing result on display and log file at the same time #1841

CrazySaibot opened this issue Feb 21, 2025 · 2 comments

Comments

@CrazySaibot
Copy link

If you use the "--logfile" option, the all result is output only to a file, but I need to have both a file and output to the screen in real time. Utilities like "tee" are not suitable, they display the result on the screen only after "iperf" has completely finished executing. What is the point of using this option? It doesn't work as it should ))) You can just redirect the output without using this option, it will be the same )) But output to the screen in real time and output to a log file at the same time are very necessary, but they don't work )

@davidBar-On
Copy link
Contributor

Using the --forceflush option allows to use "tee" and see the output in real time.
E.g, on the server side: iperf3 -s --forceflush | tee logfile.out.

@CrazySaibot
Copy link
Author

Thanks, this is working! ))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants