免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2265 | 回复: 0
打印 上一主题 下一主题

solaris10中的modinfo用法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-08 13:58 |只看该作者 |倒序浏览
solaris10中的modinfo用法
这个命令是显示载入内核中的模块信息。其常用的参数就是-c、-w和-i,下来一一介绍!
[root@sol01 /]#modinfo
Id Loadaddr   Size Info Rev Module Name
  0 fe800000  c5ba8   -   0  unix ()
  1 fe884630  13c22   -   0  krtld ()
  2 fe892f68 15c280   -   0  genunix ()
  4 fe9b6000   3c20   1   1  specfs (filesystem for specfs)
  5 fa380000  13e78 155   1  dtrace (Dynamic Tracing)
  6 fe9b9a78   36d0  16   1  devfs (devices filesystem 1.15)
  8 fe9bcea8   2c14   1   1  TS (time sharing sched class)
  9 fe9bf55c    87c   -   1  TS_DPTBL (Time sharing dispatch table)
11 fe9bf5b8   5f28   -   1  pci_autoconfig (PCI BIOS interface 1.43)
12 fe9c3e78  429a8   -   1  acpica (ACPI interpreter 1.4)
13 fe9fd6d8   3110   -   1  cpu.generic (Generic x86 CPU Module)
15 fea003d0   227c   1   1  uppc (UniProcessor PC)
16 fea024a4   94ec   2   1  pcplusmp (pcplusmp v1.4 compatible 1.115)
17 fea0a148   3a04   1   1  rootnex (i86pc root nexus 1.136)
18 fea0d954    124  57   1  options (options driver)
19 fea0da08    7bc   2   1  pseudo (nexus driver for 'pseudo' 1.28)
20 fea0e02c    464  11   1  clone (Clone Pseudodriver 'clone')
21 fea0e340  1113c 174   1  scsi_vhci (SCSI VHCI Driver 1.53)
22 fea1e134   c840   -   1  scsi (SCSI Bus Utility Routines)
23 fea239ac   19a8 120   1  isa (isa nexus driver for 'ISA' 1.38)
24 fea24f3c   1a84   -   1  busra (Bus Resource Allocator (BUSRA) )
25 fea26750   10ac  12   1  sad (STREAMS Administrative Driver ')
27 fea2767c  2e0c0   2   1  ufs (filesystem for ufs)
28 fea533d4    15c   -   1  fssnap_if (File System Snapshot Interface)
29 fea534d0   4084 246   1  ppm (platform pm driver v1.17)
30 fea570fc   3e1c  86   1  pci (host to PCI nexus driver 1.68)
31 fea5acb0   4404   -   1  pcihp (PCI nexus hotplug support v1.63)
32 fea5ee0c    ba4   -   1  hpcsvc (hot-plug controller services v1)
33 fea5f938    aac 210   1  pci-ide (pciide nexus driver for 'PCI-ID)
34 fea601a4   a98c 112   1  ata (ATA AT-bus attachment disk cont)
35 fea6a1b8   23ac 102   1  cmdk (Common Direct Access Disk 1.71)
36 fea6c40c   22ec   -   1  dadk (Direct Attached Disk 1.46)
37 fea6dfd8    694   -   1  gda (Generic Direct Attached Device )
38 fea6e5b4   15d4   -   1  strategy (Device Strategy Objects 1.31)
39 fea6fa30   4ba0   -   1  cmlb (Common Labeling module 1.4)
40 fea73ae8   24e8  17   1  ctfs (contract filesystem)
.......
不带参数显示所以的模块。
-c参数:显示的模块状态
-w参数:不要截取模块信息在80个字符
-i module_id参数:只显示某一模块的信息
[root@sol01 /]#modinfo -c |grep 221
221          1 ptm                              LOADED/INSTALLED
[root@sol01 /]#modinfo -w |grep 221
221 fa113624    b5c  23   1  ptm (Master streams driver 'ptm' 1.4)
[root@sol01 /]#modinfo -i 221
Id Loadaddr   Size Info Rev Module Name
221 fa113624    b5c  23   1  ptm (Master streams driver 'ptm' 1.4)
[root@sol01 /]#

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/36549/showart_1169853.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP