摘要
Linux操作系统本身为用户程序提供了大量接口用于采集内核信息,每一种类型的内核信息都有一个相应的接口。一个对Linux内核进行全面监控的监控系统需要采集大量的内核信息,这就需要调用大量的接口,这给监控系统带来了很大的复杂性。文中提出了一种采用统一接口采集内核信息的方法,并对其进行了研究与实现,采用这种方法。用户程序从同一个接口可以采集到所有的内核信息,简化了用户程序对内核信息的访问。
Linux provides many Interfaces for user's program to collect the kernel information, one for each kind of kernel information. But this causes some problems to a kernel monitoring program because it needs to collect so much kernel information and thus has to access so many interfaces. In order to solve this problem, this paper brought forward a new method that collects kernel information through a common interface, and discussed the realization of the common interface.
出处
《计算机应用》
CSCD
北大核心
2004年第12期124-125,128,共3页
journal of Computer Applications
基金
国家 86 3计划资助项目 (2 0 0 2AA1 0 442 0 )