Re: Walking the module list..

Trevor Johnson (trevor@jpj.net)
Wed, 9 Sep 1998 03:23:16 -0400 (EDT)


> My idea for 'lsmod -v' would be to list out each process that is using the
> module:
>
> Module Size Used by PID
> binfmt_aout 3776 1 (autoclean) 495
> af_packet 5816 1 (autoclean) 477
> unix 9648 21 (autoclean) 241 242 243 244 245 246
>
> Those extra numbers representing the PID of the process using those modules.

There wouldn't always be a process. For instance, a file system that's
mounted but not being used, or a network interface that's up but unused,
could cause several modules to be loaded.
__
Trevor Johnson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html