[deployment-guide/comm-rel: 289/727] Updated the Listing Currently Loaded Modules section.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 12:48:53 UTC 2010


commit d886c0f738ef8b463d437a858ce5fe05802e3079
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Mon Aug 9 16:14:38 2010 +0200

    Updated the Listing Currently Loaded Modules section.

 en-US/Working_with_Kernel_Modules.xml |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/en-US/Working_with_Kernel_Modules.xml b/en-US/Working_with_Kernel_Modules.xml
index c3a69ed..f0635b6 100644
--- a/en-US/Working_with_Kernel_Modules.xml
+++ b/en-US/Working_with_Kernel_Modules.xml
@@ -67,9 +67,9 @@
         <primary>kernel module</primary>
         <secondary>listing</secondary>
       </indexterm>
-      <para>The command <command>/sbin/lsmod</command> displays a list of currently loaded modules. For example:</para>
+      <para>To display a list of currently loaded modules, use the <command>/sbin/lsmod</command> command. For example:</para>
       <screen>
-~]$ <command>/sbin/lsmod</command>
+~]$&#160;<command>/sbin/lsmod</command>
 Module                  Size  Used by
 autofs4                25618  3
 sunrpc                231823  1
@@ -112,7 +112,7 @@ virtio_ring             6026  1 virtio_pci
 virtio                  4864  4 virtio_net,virtio_balloon,virtio_blk,virtio_pci
 ata_piix               22532  0
 dm_mod                 73839  8 dm_mirror,dm_log</screen>
-      <para>The first column lists the names of modules; the second column lists the sizes of the modules, and the third column lists the use counts. The output from the <command>/sbin/lsmod</command> command is less verbose and easier to read than the output of <filename>cat /proc/modules</filename>.</para>
+      <para>The command output is divided into three columns: the module name, the amount of memory it uses, and its use count followed by a list of reffering modules. Note that the output is less verbose and easier to read than the content of the <filename>/proc/modules</filename> file.</para>
     </section>
     <section
       id="s2-kernel-module-utils-modprobe">
@@ -145,7 +145,7 @@ dm_mod                 73839  8 dm_mirror,dm_log</screen>
 /sbin/insmod /lib/modules/2.6.33-5.EL/kernel/drivers/net/e100.ko
 Using /lib/modules/2.6.33-5.EL/kernel/drivers/net/e100.ko
 Symbol version prefix 'smp_'
-</screen>
+      </screen>
       <indexterm
         significance="normal">
         <primary>
@@ -179,9 +179,7 @@ Symbol version prefix 'smp_'
       id="s2-kernel-module-utils-modinfo">
       <title>Displaying Module Information</title>
       <para>Another useful kernel module utility is <command>modinfo</command>. Use the command <command>/sbin/modinfo</command> to display information about a kernel module. The general syntax is:</para>
-      <screen>~]#&#160;<command>/sbin/modinfo&#160;<replaceable><optional>options</optional>
-          </replaceable>&#160;<replaceable>&lt;kernel_module_name&gt;</replaceable>
-        </command>
+      <screen>~]#&#160;<command>/sbin/modinfo&#160;<replaceable><optional>options</optional> </replaceable>&#160;<replaceable>&lt;kernel_module_name&gt;</replaceable></command>
       </screen>
       <para>Options include <option>-d</option>, which displays a brief description of the module, and <option>-p</option>, which lists the parameters the module supports. The <command>modinfo</command> command is useful for listing information such as version, dependencies, paramater options, and aliases of modules.For a complete list of options, refer to the <command>modinfo</command> man page.</para>
     </section>


More information about the docs-commits mailing list