Sponsored Content
Full Discussion: compare realtime
Top Forums Shell Programming and Scripting compare realtime Post 302108555 by matrixmadhan on Tuesday 27th of February 2007 08:42:55 AM
Old 02-27-2007
With the concept of tail -f, only the script was provided, where you have the list updated in the file 'update' every 'n' seconds maintained in the for loop, if you want to refresh the list as soon as possible, decrement the sleep time.

Though I had not done extensive testing for the posted script. I just verified whether the update file is getting refreshed and it worked for me.

Am sure the required difference would be necessarily be captured.

Please post us with what is needed and whats happening! Smilie
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Copying files realtime

I have a primary server where certain files are created real time. These files have varying file sizes. I want to FTP or copy them over to a different server server as soon a file gets created. I have to ensure that only full file is copied. The receiving end process expects a FULL file. I am ok... (3 Replies)
Discussion started by: vskr72
3 Replies
All times are GMT -4. The time now is 11:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy