Re: Walking the module list..

Feuer (feuer@his.com)
Sat, 12 Sep 1998 14:58:19 -0400


This would also be nice for mounts.

David Woodhouse wrote:

> > 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
>
> Perhaps a text string, supplied by the module, explaining the reason for the
> usage count.
>
> Having the load address of the module made available through /proc would be
> extremely useful for debugging though - when I have a non-repeatable oops in a
> module, I often haven't loaded it with 'insmod -m'
>
> ----                                 ----                                 ----
> David Woodhouse        David.Woodhouse@mvhi.com       Office: (+44) 1223 810302
>  Project Leader,     Process Information Systems      Mobile: (+44) 976 658355
>     Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
>              finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
>
> -
> 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

-
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