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

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all