Quick Linux Tip #85
Q: How do I count new occurrences of an error over time?
Try: `watch -n 5 'grep -c "ERROR" /var/log/nginx/error.log'`
Info: watch tracks metric changes; tail -f | awk counts live log hits.
Follow @linuxteck.bsky.social for #LinuxTips click here www.linuxteck.com/linux-tips/
