A Linux server experiences a kernel panic after a recent driver update. The system is still operational but unstable. Which command should be used to gather detailed information about the kernel modules currently loaded?
Trap 1: modinfo
Shows info about a specific module.
Trap 2: dmesg
Shows kernel messages, not a direct list of loaded modules.
Trap 3: modprobe -l
Lists available modules, not loaded ones.
- A
modinfo
Why wrong: Shows info about a specific module.
- B
lsmod
Lists all loaded kernel modules.
- C
dmesg
Why wrong: Shows kernel messages, not a direct list of loaded modules.
- D
modprobe -l
Why wrong: Lists available modules, not loaded ones.