I'm receiving text data on a server trough UDP packets.
The data are encoded messages separated by blank lines, like this:
I'm using the following sentence to adquire that data| add a timestamp and remove the blank line| separate in 1MegaByte files:
It seems to work but after a period of 5-8 hours the splited text files stop to increase their size and content, and I can't get more data till I kill the processes. When the adquisitions stops I get no error on screen and the processes appear if I call ps.
Thank Chubler_XL i will try and tell you.
Yesterday i tried a simpler:
and there was no problem, so it seems that it has to be the awk or split sentence.
Thanks Peasant, I'm using GNU but I guess that the nc -q -1 option should work and wait forever and the tried that I did yesterday seems to confirm this. At this moment I guess that the problem is in the awk or split sentence
I don't think you've said what operating system or filesystem type this is. Is there a possibility that you're hitting a maximum file size for the filesystem? When it stops writing to the file, is the file near or about the same size each time?
Hi All,
Please help
*****************
a=100 and run for loop that will minus 30 from 100 an will display value
run loop will run till display value will be 0
*****************
Thanking you (1 Reply)
Hello Folks,
Looking for a script, where i can check for the existing of the files in a directory and copying to another.
How can i achieve it in loop for over period of time.
whatever files comes into the folder copied in another without duplicate and should be continuous loop.
... (8 Replies)
Hi,
I need help in extracting only the phone numbers between the continuous non empty xml tags in unix. I searched through a lot of forum but i did not get exact result for my query. Please help
Given below is the sample pipe delimited file. I have a lot of tags before and after... (6 Replies)
I have a requirement like this...
I want to go to a particular server for which i have acess .I want to do a ssh to that server from one server and check if a file is theer or not..and i need the script to chcek continuosly till it finds the file.When it finds the file i want it to come out... (9 Replies)
HI frnds,
i am going to work on CDP(continuous data protection),does any one of them have any idea reg CDP ... any docs or Links...might be helpful to me in understanding it.... (1 Reply)