<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; 监控</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/%e7%9b%91%e6%8e%a7/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Sun, 10 May 2026 14:53:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下用inotify-tool实时监控服务器文件</title>
		<link>https://www.osyunwei.com/archives/9023.html</link>
		<comments>https://www.osyunwei.com/archives/9023.html#comments</comments>
		<pubDate>Fri, 24 Apr 2015 02:06:47 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Inotify]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[监控]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=9023</guid>
		<description><![CDATA[说明： 服务器系统：CentOS 文件目录：/home/web/osyunwei.com 实现目的： 当/home/web/osyunwei.com下面除过cache目录之外，任何文件发生变化时，记录日志并保存。 具体操作： 一、安装Inotify-tools工具 1、查看服务器内核是否支持inotify ll /proc/sys/fs/inotify #列出文件目录，出现下面的内容，说明服务器内核支持inotify -rw-r--r-- 1 root root 0 Mar 7 02:17 max_queued_events -rw-r--r-- 1 root root 0 Mar 7 02:17 max_user_instances -rw-r--r-- 1 root root 0 Mar 7 02:17 max_user_watches 备注：Linux下支持inotify的内核最小为2.6.13，可以输入命令：uname -a查看内核 CentOS 5.X 内核为2.6.18，默认已经支持inotify 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 2、安装inotify-tools yum install make gcc gcc-c++ #安装编译工具 inotify-tools下载地址：http://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-3.14.tar.gz 上传inotify-tools-3.14.tar.gz到/usr/local/src目录下 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/9023.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/9023.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
