`lsmod` - list loaded modules.
lsmod shows information about all loaded modules.
The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.
If the module controls its own unloading via a can_unload routine then the user count displayed by lsmod is always -1, irrespective of the real use count.
EXAMPLE:
[root@server root]# lsmod
Module Size Used by Not tainted
nfsd 86960 8 (autoclean)
lockd 60656 1 (autoclean) [nfsd]
sunrpc 92124 1 (autoclean) [nfsd lockd]
parport_pc 19204 1 (autoclean)
lp 9220 0 (autoclean)
floppy 59056 0 (autoclean)
microcode 5248 0 (autoclean)
keybdev 2976 0 (unused)
mousedev 5688 0 (unused)
hid 22404 0 (unused)
input 6208 0 [keybdev mousedev hid]
ehci-hcd 20904 0 (unused)
usb-uhci 27532 0 (unused)
usbcore 83168 1 [hid ehci-hcd usb-uhci]
ext3 95784 5
jbd 56856 5 [ext3]
......
..
Thursday, August 30, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment