From: Steven Baltakatei Sandoval Date: Thu, 9 Jul 2020 19:44:18 +0000 (+0000) Subject: test(unitproc):bkFreqWrite:Add space for future buffer processing X-Git-Tag: 0.3.0~41 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/63ef0127440655cb79919949fef6b9523733a528?ds=inline;hp=17fda1d570d4e3b47ef1c13755fa6fc279e7c623 test(unitproc):bkFreqWrite:Add space for future buffer processing --- diff --git a/unitproc/bkFreqWrite b/unitproc/bkFreqWrite index 2111e2c..663c030 100644 --- a/unitproc/bkFreqWrite +++ b/unitproc/bkFreqWrite @@ -10,7 +10,9 @@ scriptTTL="15"; 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;