Walking the module list..

Aaron Tiensivu (tiensivu@pilot.msu.edu)
Tue, 8 Sep 1998 18:28:12 -0400


Is this possible as an extension of 'lsmod'? For example, 'lsmod -v' for
verbose

Normal output is like this:

Module Size Used by
binfmt_aout 3776 1 (autoclean)
af_packet 5816 1 (autoclean)
serial 16476 1 (autoclean)
wd 4448 1 (autoclean)
8390 5700 0 (autoclean) [wd]
unix 9648 21 (autoclean)

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.

I'm not well versed with kmod and the like so I don't know the
complexity/usefulness of the idea.

Comments please. :)

-
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