M
M
mihelsonkk2016-03-01 15:46:49
linux
mihelsonkk, 2016-03-01 15:46:49

FIFO buffers in linux?

the application writes (line by line) periodically to fifo ($ mkfifo fifo-file)
I want to use tail -f to take data as it arrives and work with them through pipes;
in fact, the data is dumped in pieces of 4096 bytes.
why is that? what exactly is this buffer? is the buffer size configurable? Is it possible to turn off the buffer and drag data as it is actually written?
if you send to read the materiel, then I will be very happy with good materials on the topic
, thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
client3, 2016-03-01
@client3

4096 bytes is the size of a memory page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question