Improved search command for count tool

This commit is contained in:
slerena 2023-01-12 15:06:57 +00:00
parent 7502681c85
commit 65c244fad0
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
#!/bin/bash
echo "Small tool to measure data processing throughput for a Pandora FMS data server"
echo "(c) 2010-2015 Sancho Lerena, slerena@gmail.com"
echo "Small tool to measure data processing throughput for a Pandora FMS Data server"
echo "(c) 2010-2023 Pandora FMS Team"
ANT=0
while [ 1 ]
do
ACT=`find /var/spool/pandora/data_in | wc -l`
ACT=`find /var/spool/pandora/data_in -maxdepth 1 -type f | wc -l`
if [ $ANT != 0 ]
then
RES=`expr $ANT - $ACT`