Editing Kldstat

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 4: Line 4:
 
==Introduction==
 
==Introduction==
  
The [https://www.freebsd.org/cgi/man.cgi?query=kldstat&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html kldstat] utility displays the status of any files dynamically linked into the kernel.<br/>
+
On this page we will give you an example for already loaded kernel modules.
 
+
The following options are available:
+
 
+
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"
+
|-
+
! scope="col" style="width: 50px;"|'''Option'''
+
! scope="col" style="width: 350px;"|'''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==
 
==Example==
  
With the command: <br/>
+
With the command <code>kldstat</code> you will get something like this:
<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 90: Line 66:
 
|}
 
|}
  
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]].
+
  
  

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)