for i in log.{48..1}.gz ; do printf "$i\t" ; zgrep problem $i | wc -l ; done # Generate line stats of a problem over time in old logs

for i in log.{48..1}.gz ; do printf "$i\t" ; zgrep problem $i | wc -l ; done # Generate line stats of a problem over time in old logs

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

15 managing disk - understanding /etc/fstab xfs_admin mount -o rw,remount /