基于Linux内核的智能日志生成系统  被引量:2

Intelligent Log Generation System Based on Linux Kernel

在线阅读下载全文

作  者:刘洪武[1] 梁亮[1] 杨国为[1] 宋高俊[1] 

机构地区:[1]南昌航空大学信息工程学院,南昌330063

出  处:《计算机工程》2012年第18期255-257,共3页Computer Engineering

基  金:国家自然科学基金资助项目(60973048);航空科学基金资助项目(20102056005);江西省教育厅青年科学基金资助项目(GJJ10194)

摘  要:提出一种日志生成系统,克服传统系统不能在进程中随意更改日志生成的模块与级别。通过修改配置文件和用动态命令2种方式,进行不同模块、不同级别的日志选择性生成。该设计可以用扫描配置文件的方式,根据配置文件中不同模块与级别的标识更新日志生成列表,也可以在进程运行当中,以人机交互的命令通过进程间通信的方法更新日志生成列表,再调用API接口实现按需生成日志。测试结果表明,该设计可以实现按需求输出日志的功能。The log generation system in this paper overcomes the traditional log generation system which cannot modify the generation of modules and levels log,the configuration file can be modified and the dynamic command can be used to get selective generation of different modules and levels log in this design.This design uses the scanning of configuration file,according to the identification of different modules and levels in configuration file to update the list of log generation,the dynamic command inputs with the Inter-process Communication(IPC) in process to update the list of log generation,then uses the API interface to generate the log according to the demand.

关 键 词:日志生成系统 配置文件 动态命令 LINUX内核 系统调用 API接口 进程间通信 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象