You are not logged in.

#1 2008-08-06 22:46:20

jordanwb
Member
From: Ontario, Canada
Registered: 2008-07-01
Posts: 151

How to find out what modules are used

In /etc/rc.conf there are a lot of modules that are loaded that don't need to be, like modules related to OSS. Is there some command that'll show me what modules are being used at the moment and/or what they do?

Offline

#2 2008-08-06 22:54:03

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: How to find out what modules are used

lsmod

Offline

#3 2008-08-07 01:58:40

jordanwb
Member
From: Ontario, Canada
Registered: 2008-07-01
Posts: 151

Re: How to find out what modules are used

Yes Thinkpad FTW! Back on topic; so there are three columns: Module, Size and Used By. In the used by column what do the different numbers mean?

I ran "lsmod | less" to be able to view each individual one. (That "| less" part is really useful)

Last edited by jordanwb (2008-08-07 01:59:15)

Offline

#4 2008-08-07 17:38:39

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: How to find out what modules are used

The number is the amount of references, other modules who use it.

Offline

#5 2008-08-07 18:27:41

attila
Member
Registered: 2006-11-14
Posts: 293

Re: How to find out what modules are used

With the last update of pciutils running "lspci -k | less" is a nice information too.

Offline

#6 2008-08-07 19:12:23

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: How to find out what modules are used

Isn't always descriptive enough, but can also help:

modinfo MODULE_NAME

flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

Board footer

Powered by FluxBB