that will not work..... both processes have the same file open at the same time... i do a "write" sync" but the other process caches in memory part of the file. so it never gets changed. If i run the sync command that just flushes all the writes waiting on the system.... it doesn't affect what other programs have read already