Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 11:55:46 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Filesystem monitoring question
Message-ID:  <20051118165546.GM53311@wjv.com>
In-Reply-To: <20051118120040.5B6B616A423@hub.freebsd.org>
References:  <20051118120040.5B6B616A423@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 18, 2005 at 12:00 ,
freebsd-hackers-request@freebsd.org showing utter disregard for
spell-checkers gave us this:

> Date: Thu, 17 Nov 2005 15:07:48 +0000
> From: Cornelis Swanepoel <rools.ster@gmail.com>
> Subject: Filesystem monitoring question


> I have a FreeBSD 6.0 box with a partition that is accessible to
> a number of clients via SMB and NFS.

> I would like to monitor activity on this partition so that every
> time a write to it is completed, my C program is run (which
> stats the file and stores some info about it in a database
> amongst other things)

> My question is: What do I need to learn in order to construct a
> trigger for my code?

> If anyone can point me in the right direction I would greatly
> appreciate it.

What is that you need that fam won't do. See  man 1m fam.

Bill


-- 
Bill Vermillion - bv @ wjv . com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051118165546.GM53311>