[zfs-discuss] list new files/activity monitor

2010-02-06 Thread Nilsen, Vidar
Hi, I have a fileserver at home, where my household stores common data, like downloaded content, pictures etc.. And once an hour I run a script that checks for new dirs last 60 minutes matching some criteria, and outputs the path to an IRC-channel. Where we can see if someone else has added

Re: [zfs-discuss] list new files/activity monitor

2010-02-06 Thread Joerg Schilling
Nilsen, Vidar vidar.nil...@palantir.no wrote: Method used is find -mmin -60, which gets horrible slow when more data is added. This is a questionable feature from GNU find. A standard compliant extension with this ad more features is: find -mtime -1h See also sfind which is in:

Re: [zfs-discuss] list new files/activity monitor

2010-02-06 Thread Kjetil Torgrim Homme
Nilsen, Vidar vidar.nil...@palantir.no writes: And once an hour I run a script that checks for new dirs last 60 minutes matching some criteria, and outputs the path to an IRC-channel. Where we can see if someone else has added new stuff. Method used is “find –mmin -60”, which gets horrible

Re: [zfs-discuss] list new files/activity monitor

2010-02-06 Thread Nilsen, Vidar
Kjetil Torgrim Homme writes: yes, File Events Notification (FEN) http://blogs.sun.com/praks/entry/file_events_notification you access this through the event port API. http://developers.sun.com/solaris/articles/event_completion.html gnome-vfs uses FEN, but unfortunately gnomevfs-monitor