Difference between revisions of "Kldstat"
From GhostBSD Wiki
(→Introduction) |
(→Example) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 30: | Line 30: | ||
==Example== | ==Example== | ||
− | With the command <code>kldstat</code> | + | With the command: <br/> |
+ | <code>/u/h/yourusername>kldstat</code> <br/> | ||
+ | without any option will give you something like this: | ||
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:right;padding: 10px" | {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:right;padding: 10px" | ||
Line 88: | Line 90: | ||
|} | |} | ||
− | + | These kernel modules are already loaded into the kernel.<br/> | |
+ | The opensolaris kernel module is needed by ZFS. vboxdrv.ko, vboxnetflt.ko and vboxnetadp.ko are added because of the use of [[Guide to install VirtualBox on GhostBSD|VirtualBox]]. | ||
Latest revision as of 05:02, 11 March 2020
Welcome to Kldstat. |
Kernel Competence | ||
---|---|---|
Sysctl | Kldstat | Third-party Kernel Modules |
Kernel Modules | FreeBSD Ports: Kld | Kenv |
Compiling a new GhostBSD kernel | ||
Back to the System |
Introduction[edit]
The kldstat utility displays the status of any files dynamically linked into the kernel.
The following options are available:
Option | Description |
---|---|
-h | Display the size field in a human-readable form, using unit suffixes instead of hex values. |
-v | Be more verbose. |
-d | Show the module specific data (as int, unsigned int and unsigned long) |
-i | id; Display the status of only the file with this ID. |
-n | filename; Display the status of only the file with this filename. |
-q | Only check if module is loaded or compiled into the kernel. |
-m | modname; Display the status of only the module with this modname. |
Example[edit]
With the command:
/u/h/yourusername>kldstat
without any option will give you something like this:
These kernel modules are already loaded into the kernel.
The opensolaris kernel module is needed by ZFS. vboxdrv.ko, vboxnetflt.ko and vboxnetadp.ko are added because of the use of VirtualBox.