Skip to content

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

@webernetz

Description

@webernetz

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions