Configuring libfam
Config files
/etc/rpc,
/etc/fam.conf,
/etc/inetd.conf,
/etc/xinetd.d/fam,
or /etc/xinetd.conf
Configuration Information
Configuring the file alteration monitor.
Add this line to /etc/rpc:
sgi_fam 391002 fam # File Alteration Monitor
If you use inetd, add this line to /etc/inetd.conf:
sgi_fam/1-2 stream rpc/tcp wait root /usr/bin/fam fam
If you use xinetd, create the /etc/xinetd.d/fam
file or add an entry to /etc/xinetd.conf as
follows:
# default: on
# description: FAM - file alteration monitor
service sgi_fam
{
type = RPC UNLISTED
socket_type = stream
user = root
group = nobody
server = /usr/bin/fam
wait = yes
protocol = tcp
rpc_version = 2
rpc_number = 391002
}