[KLUG Members] triggering a program
Adam Tauno Williams
adam at morrison-ind.com
Thu Feb 16 11:29:47 EST 2006
> > > So, if I can't use a db trigger, are there other ideas?
> > It gets much uglier. I don't know enough about MySQL but can you
> > identify the file that contains the table in question? You can probably
> > watch it for modification via fam and then poll it for changes.
> > http://oss.sgi.com/projects/fam/faq.html#why_use_fam
> O.K., I tried "whereis fam" on the box in question and got
> fam: /usr/include/fam.h
> I expected /usr/bin/fam or something similar. Should I assume it isn't
> installed?
There should be a fam deamon running, and there should be a
utility /usr/bin/fileschanged
awilliam at aleph:~> ps ax | grep fam
5584 ? Ss 0:05 /usr/sbin/fam -t 4 -T 0 -L
> If so, will I need root access to install it?
I think so. I'd assume it is split into two packages -
awilliam at aleph:~> rpm -q fam
fam-2.6.10-130.2
awilliam at aleph:~> rpm -q fam-server
fam-server-2.6.10-130.2
> BTW, uname -a reports: 2.6.14-1.1637_FC4, so it must be Fedora Core 4.
Which I also *assume* would include FAM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20060216/14659d71/attachment.bin
More information about the Members
mailing list