test(unitproc):bkFreqWrite:Add space for future buffer processing
[BK-2020-03.git] / unitproc / bkFreqWrite
index 2111e2c78f85b7b8113d42c5726e7f3957950c87..663c0302e3fa303d44a9f66eb41ef43249d64a5f 100644 (file)
@@ -10,7 +10,9 @@ scriptTTL="15";
 bufferTTL="5";
 
 magicWriteBuffer() {
 bufferTTL="5";
 
 magicWriteBuffer() {
-    printf "%s\n" "${buffer[@]}" >> /dev/shm/$(date +%s)..bkFreqWrite-output.txt;
+    printf "%s\n" "${buffer[@]}" | cat | cat | cat >> /dev/shm/$(date +%s)..bkFreqWrite-output1.txt;
+    printf "%s\n" "${buffer[@]}" | cat | cat | cat >> /dev/shm/$(date +%s)..bkFreqWrite-output2.txt;
+    printf "%s\n" "${buffer[@]}" | cat | cat | cat >> /dev/shm/$(date +%s)..bkFreqWrite-output3.txt;
 }
 
 bufferRound=0;
 }
 
 bufferRound=0;