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

dnsping: piping output into file doesn't appear immediately #59

Closed
webernetz opened this issue Feb 15, 2019 · 0 comments
Closed

dnsping: piping output into file doesn't appear immediately #59

webernetz opened this issue Feb 15, 2019 · 0 comments
Assignees

Comments

@webernetz
Copy link
Contributor

Hey again. ;)

One question: I am using dnsping with ">>" to save the output into a file, such as:

./dnsping.py -v -c 1000 heise.de >> ~/testweiterleitung

In a second shell I am following this file with "tail -f testweiterleitung". However, it seems that this file is NOT written immediately after each ping, but after a couple of responses at once. I have no idea whether this is a behaviour of python at all. Do you have an idea?

Thanks a lot, Babak!

Johannes

@farrokhi farrokhi self-assigned this Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants