02 2017 档案
摘要:一、inotify inotify是内核的一个特性,可以用来监控目录、文件的读写等事件,当监控目标是目录时,inotify除了会监控目录本身,还会监控目录中的文件。inotify的监控功能由如下的几个系统调用完成:inotify_init(2) (or inotify_init1(2)), inot
阅读全文
摘要:在运行yum时提示如下错误 There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named rpm
阅读全文
摘要:废话少说,先上代码 废话少说,先上代码 File:logger.conf [formatters] keys=default [formatter_default] format=%(asctime)s - %(name)s - %(levelname)s - %(message)s class=l
阅读全文
摘要:实验环境 CentOS Linux release 7.3.1611 (Core) 3.10.0-514.6.1.el7.x86_64 一、概念介绍 linux系统中通常使用free命令来查看内存使用情况,free命令主要是从/proc/meminfo文件中读取的内存数据然后进行简单处理进行展示,根
阅读全文

浙公网安备 33010602011771号