test(unitproc):bkFreqWrite:Add space for future buffer processing
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Thu, 9 Jul 2020 19:44:18 +0000 (19:44 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Thu, 9 Jul 2020 19:44:18 +0000 (19:44 +0000)
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;