There is a task to use C to display information about the modules currently loaded. I do this: I read information from the /proc/modules file. But there was a problem with understanding what was in that file. Here is a snippet:
v4l2_common 15681 1 videobuf2_core, Live 0x0000000000000000 videodev 153793 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000 media 21903 2 uvcvideo,videodev, Live 0x0000000000000000 rfcomm 69509 8 - Live 0x0000000000000000 bnep 19624 2 - Live 0x0000000000000000 bluetooth 446409 22 btusb,rfcomm,bnep, Live 0x0000000000000000 6lowpan_iphc 18702 1 bluetooth, Live 0x0000000000000000 binfmt_misc 17468 1 - Live 0x0000000000000000 acer_wmi 32522 0 - Live 0x0000000000000000 I believe that the first is the name ( v4l2_common ), the second is the size (15681). But further is not clear.
Can someone explain?
lsmoddoesn’t seem important, it doesn’t display it - Mike