LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1054|回复: 4

求助:哪些module和进程是不需加载的?

[复制链接]
发表于 2007-10-8 09:41:09 | 显示全部楼层 |阅读模式
如题
[zse@ohdg ~]$ lsmod
Module                  Size  Used by
nvidia               4708180  22
ipv6                  254916  10
ppdev                   7556  0
lp                      9348  0
snd_seq_oss            29312  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                46672  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37024  0
snd_mixer_oss          14592  1 snd_pcm_oss
pcspkr                  2944  0
8139too                23168  0
8139cp                 19584  0
mii                     4864  2 8139too,8139cp
analog                 10784  0
parport_pc             35556  1
parport                31304  3 ppdev,lp,parport_pc
snd_mpu401              6760  0
snd_mpu401_uart         7040  1 snd_mpu401
snd_rawmidi            19232  1 snd_mpu401_uart
snd_seq_device          6924  3 snd_seq_oss,snd_seq,snd_rawmidi
rtc_cmos                7328  0
rtc_core               14984  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
psmouse                35984  0
serio_raw               5764  0
ns558                   4224  0
gameport               11784  3 analog,ns558
i2c_i801                8336  0
i2c_core               20352  2 nvidia,i2c_i801
ppp_generic            23828  0
slhc                    5760  1 ppp_generic
snd_intel8x0           28700  0
snd_ac97_codec         95652  1 snd_intel8x0
ac97_bus                2432  1 snd_ac97_codec
snd_pcm                69124  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              19332  2 snd_seq,snd_pcm
snd                    45028  12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               6496  1 snd
snd_page_alloc          8072  2 snd_intel8x0,snd_pcm
uhci_hcd               22416  0
shpchp                 29332  0
pci_hotplug            27720  1 shpchp
sg                     26652  0
intel_agp              21524  1
agpgart                27224  2 nvidia,intel_agp
tsdev                   6720  0
evdev                   8192  0
thermal                10888  0
processor              24788  1 thermal
fan                     3844  0
button                  6160  0
battery                 8324  0
ac                      4100  0
usbcore               112520  2 uhci_hcd
reiserfs              234880  4
sr_mod                 14756  0
cdrom                  34336  1 sr_mod
sd_mod                 22784  7
ata_piix               11652  5
ata_generic             5380  0
libata                108084  2 ata_piix,ata_generic




[zse@ohdg ~]$ ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.4  0.1   1596   536 ?        Ss   07:26   0:00 init [3]      
root         2  0.0  0.0      0     0 ?        S<   07:26   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   07:26   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        SN   07:26   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   07:26   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   07:26   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S<   07:26   0:00 [khelper]
root        31  0.0  0.0      0     0 ?        S<   07:26   0:00 [kblockd/0]
root        32  0.0  0.0      0     0 ?        S<   07:26   0:00 [kacpid]
root        33  0.0  0.0      0     0 ?        S<   07:26   0:00 [kacpi_notify]
root       111  0.0  0.0      0     0 ?        S<   07:26   0:00 [kseriod]
root       127  0.0  0.0      0     0 ?        S    07:26   0:00 [pdflush]
root       128  0.0  0.0      0     0 ?        S    07:26   0:00 [pdflush]
root       129  0.0  0.0      0     0 ?        S<   07:26   0:00 [kswapd0]
root       130  0.0  0.0      0     0 ?        S<   07:26   0:00 [aio/0]
root       263  0.0  0.0      0     0 ?        S<   07:26   0:00 [ata/0]
root       264  0.0  0.0      0     0 ?        S<   07:26   0:00 [ata_aux]
root       272  0.0  0.0      0     0 ?        S<   07:26   0:00 [scsi_eh_0]
root       274  0.0  0.0      0     0 ?        S<   07:26   0:00 [scsi_eh_1]
root       929  0.0  0.0      0     0 ?        S<   07:26   0:00 [reiserfs/0]
root       962  0.0  0.0      0     0 ?        S<   07:26   0:00 [ksuspend_usbd]
root       965  0.0  0.0      0     0 ?        S<   07:26   0:00 [khubd]
root       981  0.8  0.1   1780   608 ?        S<s  07:27   0:01 /sbin/udevd --d
root      2851  0.0  0.0      0     0 ?        S<   07:27   0:00 [kgameportd]
root      3227  0.0  0.0      0     0 ?        S<   07:27   0:00 [kpsmoused]
root      5377  0.0  0.1   2224   776 ?        Ss   07:27   0:00 /usr/sbin/syslo
root      5402  0.0  0.1   1620   532 ?        S    07:27   0:00 /usr/sbin/crond
root      5420  0.0  0.2   2340  1132 tty1     Ss   07:27   0:00 /bin/login --
root      5421  0.0  0.0   1596   504 tty2     Ss+  07:27   0:00 /sbin/agetty 38
root      5422  0.0  0.0   1596   504 tty3     Ss+  07:27   0:00 /sbin/agetty 38
root      5423  0.0  0.0   1592   500 tty4     Ss+  07:27   0:00 /sbin/agetty 38
root      5424  0.0  0.0   1596   504 tty5     Ss+  07:27   0:00 /sbin/agetty 38
root      5425  0.0  0.0   1596   504 tty6     Ss+  07:27   0:00 /sbin/agetty 38
zse        5436  0.0  0.3   6180  1808 tty1     S    07:28   0:00 -bash
zse        5441  0.0  0.2   6132  1436 tty1     S+   07:28   0:00 /bin/sh /usr/bi
zse        5457  0.0  0.1   2576   720 tty1     S+   07:28   0:00 xinit /home/zse/
root      5458  2.2  3.4  22740 17836 tty7     S<Ls+ 07:28   0:02 X :0 -auth /ho
zse        5469  0.5  1.7  31016  8952 tty1     S    07:28   0:00 fluxbox
zse        5472  0.0  1.6  15000  8480 ?        Ss   07:28   0:00 /usr/lib/scim-1
zse        5476  0.0  0.1   7096   908 ?        Ss   07:28   0:00 /usr/lib/scim-1
zse        5477  0.0  1.0  27648  5204 ?        Ssl  07:28   0:00 /usr/lib/scim-1
zse        5479  0.0  0.3   8400  1732 ?        Ss   07:28   0:00 /usr/lib/scim-1
zse        5502  0.2  1.1  12476  5776 ?        Rs   07:28   0:00 urxvt
zse        5503  0.0  0.3   6180  1680 pts/0    Ss   07:28   0:00 bash
zse        5505  2.0  2.2  25560 11508 ?        Ss   07:29   0:00 leafpad
zse        5506  0.0  0.1   5220   992 pts/0    R+   07:29   0:00 ps -aux



IDE interface
  piix            : Intel Corp.|82820 815e (Camino 2) Chipset IDE U100
Ethernet controller
  8139too         : Realtek Semiconductor|TTP-Monitoring Card V2.0
VGA compatible controller
  vesa            : nVidia Corp.|NV18 GeForce4 MX440 AGP 8x
Multimedia audio controller
  i810_audio      : Intel Corp.|ICH2 810 Chipset AC'97 Audio Controller
Host bridge
  intel-agp       : Intel Corp.|82815 815 Chipset Host Bridge and Memory Controller Hub
ISA bridge
  i810-tco        : Intel Corp.|82820 815e (Camino 2) Chipset ISA Bridge (ICH2)
PCI bridge
  unknown         : Intel Corp.|82815/82815EM/EP AGP Bridge
  hw_random       : Intel Corp.|82820 815e (Camino 2) Chipset PCI
USB Controller
  uhci_hcd        : Intel Corp.|82820 815e (Camino 2) Chipset USB (Hub A)
  uhci_hcd        : Intel Corp.|82820 815e (Camino 2) Chipset USB (Hub B)
SMBus
  i2c-i801        : Intel Corp.|82820 815e (Camino 2) Chipset SMBus
USB Hub
  hub             : Virtual|Hub
  hub             : Virtual|Hub
Mouse
  msintellips/2   : Generic PS/2 Wheel Mouse [/dev/psaux]
发表于 2007-10-8 23:42:28 | 显示全部楼层
内存足够就无所谓了,进程要看你启动了什么程序,内核模块占不了多少资源,关一些服务可能更有效些
回复 支持 反对

使用道具 举报

发表于 2007-10-10 03:04:11 | 显示全部楼层
我的。
MOD_BLACKLIST=(lp gameport evdev pcspkr ipv6 joydev ide_floppy irda shpchp analog ppdev parport_pc serio_raw slhc intel_rng)

MODULES=(capability fuse psmouse p4_clockmod)
DAEMONS=(@cpufreq @syslog-ng @hal @network !netfs @tor @alsa @crond !portmap)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-10 08:08:22 | 显示全部楼层
谢谢楼上两位的帮助
我的声卡是i810_audio : Intel Corp.|ICH2 810 Chipset AC'97 Audio Controller
用的是alsa驱动,哪上面的哪些声卡的支持模块能不加载呢?
回复 支持 反对

使用道具 举报

发表于 2007-10-10 13:51:52 | 显示全部楼层
mpu401应该没用。。。其他都要
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表