Search Results

Search: Posts Made By: sonorous
4,400
Posted By sonorous
Bourne shell And LOG_FILE_NEW is set to...
Bourne shell

And LOG_FILE_NEW is set to /data/x_new.log
LOG_FILE to /data/x.log

This error doesnt happen always. It happens occasionally though either RUNNING or SHUTTING_DOWN do get written...
4,400
Posted By sonorous
Read/Search file being written to giving error due to timing issues
The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING or SHUTDOWN)
RESULT=""
sleep 30
while [ "${RESULT}" = "" ]; do
sleep 10
RESULT=`sed -n...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy