2
votes
3answers
90 views

Detect file update from modification time

Is there a way to see how often a file is being updated? I mean I need to see if the modification time of a file is updated in a dynamic way (same as tail shows if the file is updated in a dynamic ...
21
votes
4answers
4k views

In tail -f, how do I filter out stuff that has certain keywords?

I want to tail -f my logs. However, I want to filter out everything that has the words: "ELB", "Pingdom", "Health"
0
votes
3answers
479 views

how to “batch” output of “tail -F” or output all data in a stream every X seconds?

I am trying to monitor a log file in real-time. Say I issue a command such as: tail -F mysystem.log|grep -i error|mail ... This is supposed to monitor my log file, every time it sees an error, email ...
7
votes
4answers
2k views

Is is possible to filter the output of tail?

I'd like to tail a file but only output lines that have a certain string in them. Is this possible?