uTools-Manuals/docs/linux/get_module.html
2019-04-21 11:50:48 +08:00

49 lines
2.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="get_module">get_module</h1>
<p>获取Linux内核模块的详细信息</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>get_module命令</strong> 用于获取Linux内核模块的详细信息。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">get_module 模块名</code></pre>
<h3 id="实例">实例</h3>
<p>使用lsmod命令查看内核模块</p>
<pre><code class="language-bash">lsmod | head -5
Module Size Used by
ipv6 272801 15
xfrm_nalgo 13381 1 ipv6
crypto_api 12609 1 xfrm_nalgo
ip_conntrack_ftp 11569 0</code></pre>
<p>使用get_module命令查看模块详细信息</p>
<pre><code class="language-bash">get_module ipv6
refcnt : 15
srcversion : 8CC9C024755B4483E56C0EF
Parameters:
autoconf : 1
disable : 0
disable_ipv6 : 0
Sections:
.altinstr_replacement : 0xf8f1a3cf
.altinstructions : 0xf8f1d03c
.bss : 0xf8f36000
.data.read_mostly : 0xf8f34d20
.data : 0xf8f2f7a0
.exit.text : 0xf8f1a234
.gnu.linkonce.this_module : 0xf8f34e00
.init.data : 0xf8a16a60
.init.text : 0xf8a16000
.module_sig : 0xf8f37960
.rodata.str1.1 : 0xf8f1ae46
.rodata : 0xf8f1a420
.smp_locks : 0xf8f1d150
.strtab : 0xf8f29840
.symtab : 0xf8f24000
.text : 0xf8ef5000
__kcrctab : 0xf8f1de70
__kcrctab_gpl : 0xf8f1d9cc
__ksymtab : 0xf8f1dd78
__ksymtab_gpl : 0xf8f1d954
__ksymtab_strings : 0xf8f1da44
__param : 0xf8f1da08
__versions : 0xf8f1df00</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->