XK0-005 · Question #335
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the…
The correct answer is A. Ismod. To troubleshoot a non-functional graphics card, the lsmod command is crucial for listing currently loaded kernel modules and verifying that the correct driver modules for the hardware are present.
Question
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the following commands should the technician use to start troubleshooting this issue?
Options
- AIsmod
- BVmstat
- CGdm
- Dstartx
How the community answered
(32 responses)- A94% (30)
- C3% (1)
- D3% (1)
Why each option
To troubleshoot a non-functional graphics card, the lsmod command is crucial for listing currently loaded kernel modules and verifying that the correct driver modules for the hardware are present.
The lsmod command lists all currently loaded kernel modules. When troubleshooting a non-functional graphics card, it is crucial to verify if the appropriate driver modules for that specific vendor's card have been loaded into the kernel, as an missing or incorrect module is a common cause of hardware not functioning correctly.
vmstat reports statistics about virtual memory, processes, I/O, and CPU activity, which is not directly relevant to diagnosing a non-functional graphics card driver issue.
gdm refers to the GNOME Display Manager, which is a graphical login manager, not a command for troubleshooting kernel modules or hardware drivers.
startx is used to manually start an X session, but it will not help diagnose why a graphics card's driver is not loading or functioning at a lower kernel level.
Concept tested: Linux kernel modules, Hardware troubleshooting
Source: https://man7.org/linux/man-pages/man8/lsmod.8.html
Topics
Community Discussion
No community discussion yet for this question.