I'm writing a short program that's polling the buffer of a named pipe. To test it out, I'll log into 'nobody' and echo into the pipe. while it's hanging, I log in from a different user and run the program that reads the buffer. When it runs, the program returns nothing and the other user is logged out of the system.
I have something that I've been staring at for most of the night and can't figure out. I'm writing code in C that is supposed to use pipes to pass a byte back and forth, allowing me to switch between a parent and child process that will take turns writing a string to a file.
Are there any alternatives to pv?
I'd like to see the current transfer rate of a data pipe, a progress bar and an estimated completion time. Any other tools that can do that?
For example, I created a named pipe like the following:
mknod myPipe p
And I read from it from some process (for example, some server).
Hi All,
I have installed opensuse 11.2 and have two network cards installed, one to Internet the other is 10.0.0.254. I'm trying to install kiwi-ltsp for 11.2 and it keeps failing with the following:
================================================
There was an error in the repository initialization.
'server:ltsp': [|] Failed to cache repo (4).
History:
I configure rsyslog with an additional entry, like this:
*.* |/var/log/logpipes/pipe1
and have my own evaluation program for the messages received. This
works so far, but I am unsure, how rsyslog behaves if my pipe reader
crashes.
How can i grep for a pattern with wildcard using grep?
I want to identify all the lines that start with SAM and end in .PIPE
Code:
IN.TXT
SAM_HEADER.PIPE
SAM_DETAIL.PIPE
SAM_INVOICE.PIPE
Can i do something like
Code:
grep SAM*.PIPE IN.TXT
it didnt really work
Hi all
I have a script that listens on a named pipe.
I'm duplicating a "master" pipe with tee() to write to multiple sockets using splice(). Naturally these pipes will get emptied at different rates depending on how much I can splice() to the destination sockets. So when I next go to add data to the "master" pipe and then tee() it again, I may have a situation where I can write 64KB to the pipe but only tee 4KB to one of the "slave" pipes.