On Sat, 06 Dec 2008 02:51:02 +0200
Nikos Chantziaras <[EMAIL PROTECTED]> wrote:

> Neil Bothwick wrote:
> > On Fri, 5 Dec 2008 22:32:23 +0100, Sebastian Günther wrote:
> > 
> >> The third column of lsmod is headed with Used by and consists of a 
> >> number and a list of modules which use it.
> >>
> >> Everything with a 0 is not used.
> > 
> > Not true. Anything with a 0 is not used by another module. That's
> > not the same as not used. 
> 
> I think a 0 indicates that it's not used at all.  For example, lsmod 
> here says:
> 
>    Module                  Size  Used by
>    oss_audigyls           21888  0
>    osscore               554244  1 oss_audigyls
> 
> If I start Amarok and play a tune, lsmod says:
> 
>    Module                  Size  Used by
>    oss_audigyls           21888  4
>    osscore               554244  3 oss_audigyls
> 
> Note that after the "4" is nothing.  That probably means it is used,
> but *not* by a module?  That would mean that 0 means really totally
> unused by anything.

I see the same kind of thing, using alsa instead of oss.  But Whatever
the 0's mean, the output of lsmod won't be enough to help the OP, who
really wants to be able to tell what modules are *needed*.

$ lsmod | grep iwl
iwl4965               185000  0
mac80211              112076  1 iwl4965

It's certainly possible that my wireless driver is not being used by
anything at any given microsecond, but this post won't get off my
computer without that driver being used.

-- 
»Q«
     Kleeneness is next to Gödelness.


Reply via email to