Which command lists all currently loaded kernel modules?

Prepare thoroughly for the Google Data Center Technician Exam. Utilize our engaging study tools, with flashcards, multiple-choice questions, hints, and explanations to ensure success. Ready yourself for the challenge ahead!

Multiple Choice

Which command lists all currently loaded kernel modules?

Explanation:
The ability being tested is how to see which kernel modules are actively loaded in the running system. To list them, use lsmod. It reads the kernel’s module list exposed via /proc/modules and prints each loaded module along with its size and how many times it’s in use. This shows exactly what drivers or features are currently active, which is essential for understanding the current state of the kernel’s functionality. If you tried other commands, you’d see why they aren’t suitable here: modinfo reveals metadata about a specific module (like description and parameters) but not all loaded modules. depmod updates or builds the dependency information for modules; it isn’t about listing what’s loaded. rmmod removes a module from the running kernel; it can affect the system but doesn’t provide a list of modules.

The ability being tested is how to see which kernel modules are actively loaded in the running system. To list them, use lsmod. It reads the kernel’s module list exposed via /proc/modules and prints each loaded module along with its size and how many times it’s in use. This shows exactly what drivers or features are currently active, which is essential for understanding the current state of the kernel’s functionality.

If you tried other commands, you’d see why they aren’t suitable here: modinfo reveals metadata about a specific module (like description and parameters) but not all loaded modules. depmod updates or builds the dependency information for modules; it isn’t about listing what’s loaded. rmmod removes a module from the running kernel; it can affect the system but doesn’t provide a list of modules.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy