⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 好东东。linux下面的文件节点、文件状态的变化监听代码
💻
字号:
BUILDING & INSTALLING FAMThe standard way to build and install FAM is as follows:    ./configure    make    make installSTARTING FAMFAM uses RPC, and is usually started by a superserver such as inetd or xinetd.The make install target currently tries to add FAM to the system's portmapperand inetd, however this method will soon be removed.To manually add FAM:1. Add FAM to your portmapper   Add this line to /etc/rpc:    sgi_fam         391002  fam             # File Alteration Monitor2. Add FAM to your superserver   If you use inetd, add this line to /etc/inetd.conf    sgi_fam/1-2 stream  rpc/tcp wait    root    /usr/local/bin/fam      fam   then tell inetd to reread its configuration file:    killall -HUP inetd   If you use xinetd, add a file similar to the following in /etc/xinetd.d/    --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--    # default: on    # description: FAM - file alteration monitor    service sgi_fam    {    	type		= RPC UNLISTED    	socket_type	= stream    	user		= root    	group		= nobody    	server		= /usr/local/bin/fam    	wait		= yes    	protocol	= tcp    	rpc_version	= 2    	rpc_number	= 391002    }    --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--    If you do not want to use either, start FAM with the -T0 option:     /usr/local/bin/fam -T0    Naturally you will need to place this in your system's startup    file if you want it to be automatically started.3. Ensure that FAM is registered with the portmapper   Run this and make sure that you get at least one line of output:    rpcinfo -p | grep fam   if you don't, you may need to restart your portmapper and (x)inetd.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -