Re: Kernel modules and the "used by" column in lsmod

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

 



On Tue, Mar 11, 2008 at 07:04:05PM +0200, Ian Brown wrote:
> I had noticed that when runing "lsmod" we have a titled which is named
> "used by".
> Sometimes the number of the modules which use this module appear with
> their names;
> Sometimes, however, only the number of the modules which use this module appear
> without the names; for example: with ipv6:
> 
> lsmod
> Module                  Size  Used by
> ...
> ...
> ipv6                  307272  23

Used by 23 processes.

> but with jbd, we have:
> jbd                    64817  1 ext3

Used by a single kernel module called "ext3".
> 
> and sometimes we have a large number
> of modules which use this module, but only few are specified. For example,
> 
> sunrpc                168009  25 nfs,lockd,nfs_acl
> 
> 
> Any idea why is it so ? when does the name of the module
> appear and when does it not appear ?

It appears when the user is a module and not when the user is a
process.


Erik

-- 
Erik Mouw -- mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux