vim /etc/sysctl.conf
fs.inotify.max_user_watches = 429496720
sysctl -p
yum install inotify-tools -y
执行:inotifywait -mr -e modify,create,move,delete --exclude ^.+\.[^php]$ --format '%T %w%f %e' --timefmt '%Y/%m/%d %H:%M' /home/www/web -o /var/log/inotfiy.php.log &
阅读(1012) | 评论(0) | 转发(0) |