How did you do it?
I am thinking you put together a cron script and when something happened
you triggered what you wanted. This is what I meant by testing for the
condition.
If you are not doing this via cron then you must have used a deamon. I
can check my book on linux kernal internals. I
You could use something like monit, set the poll frequency to 60 seconds or
so. You could either script something to act on the alert, or have monit
execute a script to do the wiping.
For wiping the disk I would use badblacks (with the -w flag) and logging
the output. Easier than parsing syslog
2 matches
Mail list logo