011. Which of the following commands installs a loadable module in the running kernal?
A. insmod
B. depmod
C. modprobe
C. setmod
Ans : A
Explanation: insmod installs of loadable module in the running kernel. It tries to link a module into the running kernel by resolving all symbols from the kernel's exported symbol table.
012. insmod tries to link to module into the running kernel by resolving all symbols obtained from:
A. the kernel's exported symbol table.
B. the kernel's internal pointer base.
c. the user command argument list.
D. note of the choices.
Ans : A
Explanation: insmod installs a loadable module in the running kernel. It tries to link a module into the running kernel by resolving all symbols from the kernel's exported symbol.
013. With insmod, the paths listed in /etc/modules.conf override the paths defined in MODPATH.
A. true
B. false
Ans : A
Explanation: If the module file name is given without directories or extension, insmod will search for the module in some common default directories. The environment variable MODPATH can be used to override this default. If a module configuration file such as /etc/modules.conf exits, it will override the paths defined in MODPATH.
014. Lsmod shows information about :
A. all loaded modules
B. all non-updatable modules
C. All updatable modules
D. all unloaded modules
Ans : A
Explanation: Lsmod shows information about all loaded modules. The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.
015. Lsmod shows infromation in which of the following formats ?
A. name, size, use count, list of referring modules
B. name, use count, list of referring modules, size
C. name, size, list of referring modules, use count
D. none of the choices
Ans : A
Explanation : Lsmod shows information about all loaded modules. The format in name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.
016. The information displayed by lsmod is identical to that available from :
A. /proc/modules
B. /proc/depemod
C. /proc/ls
D. /proc/lsmod
Ans: A
Explanation : Lsmod shows infromation about all loaded modules. The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.
017. What command should you use to unload loadable modules from the running kernel ?
A. rmmod
B. remove -mod
C. delmod
D. unload module
Ans : A
Explanation : rmmod unloads loadable modules from the running kernel. rmmod tries to unload a set of modules from the kernel, with the restriction that they are not in use and that they are not referred to by other modules. If more than one module is named on the command line, the modules will be removed simultansously. This supports unloading of stacked modules.
018. What command option of rmmod specifies that all outputs be sent to syslog?
A. -a
B. -i
C. -s
D. -d
Ans : C
Explanation : Rmmod unloads loadable modules from the running kernel. -s: Outpu everything to syslog(3) instead of the terminal.
019. What utility examines the object file module_file associated with a kernel module and displays any information that it can glean ?
A. modinfo
B. modprobe
C. insmod
D. depmod
Ans : A
Explanation : The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean.
020. What command option of modinfo can display its version number ?
A. -V
B. -i
C. -I
D. -A
Ans: A
Explanation : The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean. -V, --version : Display the version of modinfo.
Saturday, August 15, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment