Rsync+inotify 实时数据同步 inotify master 端的配置

强大的,细致的,异步的文件系统事件监控机制。Linux 内科从 2.6.13 起支持 inotify Inotify 实现的几款软件:Inotify,sersync,lsyncd

※Inotify 实施准备前提:rsync daemon 服务配置成功,并且客户端可以推送和拉取数据,才能够 成功配置 inotify 服务

#显示以下三个文件则证明支持 inotify 服务

2.6.32-358.el6.x86_64

[root@liangenyu ~]# ls -l /proc/sys/fs/inotify/ 总用量 0

-rw-r--r-- 1 root root 0 12 月   1 21:11 max_queued_events

-rw-r--r-- 1 root root 0 12 月   1 21:11 max_user_instances

-rw-r--r-- 1 root root 0 12 月   1 21:11 max_user_watches

猜你喜欢

转载自www.cnblogs.com/fanweisheng/p/11327183.html
今日推荐