Is that possible to use grep on a continuous stream?
grep
What I mean is sort of a tail -f command, but with grep on t
tail -f
This one command workes for me (Suse):
mail-srv:/var/log # tail -f /var/log/mail.info |grep --line-buffered LOGIN >> logins_to_mail
collecting logins to mail service