command to find out elapsed time of logfile since last write
Hi, I need to write a script which will continuously monitor a logfile and if nothing is written in that file for 500 miliseconds it will invoke a kill -3 signal to generate core dump. Any help or suggestion to achieve this is highly appreciated.
|