Issue with output redirection

view full story

http://www.unix.com – Hi, I am using AIX server. I have a korn shell script where in I am redirecting a line to a file in a while loop: while read line do outputline=$line; echo $outputline >> "./temp/exec_list_"$ETL_JOB_RUN"_temp" done < ./temp/exec_list_$ETL_JOB_RUN Sometimes, when the CPU usage goes upto 99%, the command "echo $outputline >> "./temp/exec_list_"$ETL_JOB_RUN"_temp"" does not work and skips to the next step. I think, the writer process is slower than the reader process or we'll have to increase the pipe size. Any suggestions (HowTos)