[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lsmod count 一问



Chai Kov wrote:

>On Sun, Jul 31, 2005 at 06:16:04PM +0800, "肖盛文(Faris Xiao)" wrote:
>  
>
>>man lsmod,info lsmod 我都找不到 “Used by” 
>>的确切定义在哪里?
>>
>>唉!
>>
>>请问谁知道哪里有这个“Used by” 的确切定义 吗?
>>    
>>
>看看 Linux Device Drivers [0] 吧,在第三版(或者第二版)的第二章有关 module stacking
>一节里简单介绍了相关的内容。在 tldp( http://www.tldp.org/LDP/tlk/modules/modules.html ) 也有说明。
>
>[0] ldd3 和 ldd2 的电子版是开放下载的,http://lwn.net 上肯定有下载链接。
>  
>
非常感谢你的URL。我在http:
//ldp.linuxforum.net/LDP/tlk/modules/modules.html 看到有如下的说明:

Module:        #pages:  Used by:
msdos              5                  1
vfat               4                  1 (autoclean)
fat                6    [vfat msdos]  2 (autoclean)

The count is the number of kernel entities that are dependent on this
module.

这里的 “kernel entities” 应该就是指内核模块吧?

那当 Used by 显示的数字为零的时候,我们怎样判断这个模块是否正在被操作系
统使用了?




-- 

肖盛文(Faris Xiao)
Email:atzlinux@163.com




Reply to: