Chinaunix首页 | 论坛 | 博客
  • 博客访问: 362202
  • 博文数量: 49
  • 博客积分: 2709
  • 博客等级: 少校
  • 技术积分: 890
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-01 16:19
文章分类

全部博文(49)

文章存档

2013年(1)

2012年(5)

2011年(5)

2010年(5)

2009年(6)

2008年(27)

我的朋友

分类: LINUX

2008-04-29 14:23:50

linux power tools读书笔记之一
 
1)CPU
 
 
 
 
2)手动加载模块:
insmod:加载单个模块,不能解决模块依赖关系;
modprobe:自动解决依赖;It works much like insmod, but it's less likely to fail because of unmet dependencies

depmod  In order to load all depended-upon modules, modprobe relies upon a catalog of module dependencies. This catalog is created with the depmod command. Specifically, typing depmod -a creates the catalog in /lib/modules/version/modules.dep, where version is the kernel version number. This command normally appears in a startup script, such as /etc/rc.sysinit or /etc/init.d/boot.localfs. Thus, you shouldn't need to type this command unless you update your modules and don't want to reboot.

rmmod  This command unloads kernel modules; it's the opposite of insmod. If you add the -r or --stacks option, the command deletes a set of modules—essentially, the command works as the opposite of modprobe rather than of insmod.

 
 
阅读(1044) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~