- با استفاده از این دستور می توان تمام ماژول های لود شده در کرنل را یافت کرد.
- هسته اصلی لینوکس ممکن است در خیلی از مسایل دچار مشکل شود مثلا فلان کارت شبکه را نشناسد و غیره
- برای حل این مشکل از انواع ماژول ها استفاده می کنیم که به کرنل متصل شده و کارایی ان را بهتر می کند.
- Modules are pieces of code that can be loaded and unloaded into the kernel upon demand.
- They extend(گسترش) the functionality(عملکرد) of the kernel without the need to reboot the system.
- For example, one type of module is the device driver, which allows the kernel to access hardware connected to the system.
- Without modules, we would have to build monolithic(یک پارچه) kernels and add new functionality(عملکرد) directly into the kernel image.
- Besides having larger kernels, this has the disadvantage(بی بهره) of requiring(نیازمند) us to rebuild and reboot the kernel every time we want new functionality.
- برای استفاده از این دستور کافیست به صورت زیر استفاده شود :
|
1 |
lsmod |