`

linux kudzu作用与操作方法(原创)

 
阅读更多

概述
kudzu是在linux系统启动时用来检测硬件的,一般在安装完成linux系统后,kudzu是在系统启动时自动检测硬件的。我们通常也可以把kudzu当成AIX的cfgmgr和Solaris的devfsadm来检测系统当前已安装的硬件设备。用ntsysv命令后,可看到许多系统启动自动的服务。如不需要即可用ntsysv命令关闭。
ntsysv

ntsysv 工具为激活或停运服务提供了简单的界面。您能够使用 ntsysv 来启动或关闭由 xinetd 管理的服务。您还能够使用 ntsysv 来配置运行级别。按照默认配置,只有当前运行级别会被配置。要配置不同的运行级别,使用 --level 选项来指定一个或多个运行级别。譬如,命令 ntsysv --level 345 配置运行级别 3、4、和 5。ntsysv 的界面和文本模式的安装程式的工作方式相仿。使用上下箭头来上下查看列表。使用空格键来选择或取消选择服务,或用来“按” 「确定」和「取消」按钮。要在服务列表和「确定」、「取消」按钮中转换,使用 [Tab]键。* 标明某服务被设为启动。[F1] 键会弹出每项服务的简短描述。 警告 由 xinetd 管理的服务会立即受到 ntsysv 的影响。其他服务则不会立即生效。您必须使用 service daemon stop 命令来停止某项服务。在前面的例子中,把 daemon 换成您想停止的服务名称,譬如,httpd。把 stop 换成 start 或 restart 来启动或重新启动某服务。

kudzu

Description
kudzu detects and configures new and/or changed hardware on a system. When started, kudzu detects the current hardware, and checks it against a database stored in /etc/sysconfig/hwconf, if one exists. It then determines if any hardware has been added or removed from the system. If so, it gives the users the opportunity to configure any added hardware, and unconfigure any removed hardware. It then updates the database in /etc/sysconfig/hwconf.

If no previous database exists, kudzu attempts to determine what devices have already been configured, by looking at /etc/modprobe.conf, /etc/sysconfig/network-scripts/, and /etc/X11/xorg.conf.

Options

--usage

Show short usage message.
--help, -?
Print help information.
-q, --quiet
Run 'quietly'; do only configuration that doesn't require user input.
-s, --safe
Do only 'safe' probes that won't disturb hardware. Currently, this disables the serial probe, the DDC monitor probe, and the PS/2 probe.
-t, --timeout [seconds]
This sets the timeout for the initial dialog. If no key is pressed before the timeout elapses, kudzu exits, and /etc/sysconfig/hwconf is not updated.
-k, --kernel [version]
When determining whether a module exists, use the specified kernel version. (If this is not set, it defaults to the current kernel version.) Do not specify suffixes such as 'smp' or 'summit'; these are automatically searched.
-b, --bus [bus]
Only probe on the specified bus.
-c, --class [class]
Only probe for the specified class.
-f, --file [file]
Read hardware probe info from file file and do not do an actual probe.
-p, --probe
Print probe information to the screen, and do not actually configure or unconfigure any devices.
Files

/etc/sysconfig/hwconf

Listing of current installed hardware.
/etc/sysconfig/kudzu
Configuration for the boot-time hardware probe. Set 'SAFE' to something other than 'no' to force only safe probes.
/etc/modprobe.conf
Module configuration file.
/etc/sysconfig/network-scripts/ifcfg-*
Network interface configuration files.
Bugs

The serial probe will disturb any currently in-use devices, and returns odd results if used on machines acting as serial consoles. On some older graphics cards, the DDC probe can do strange things.

Running kudzu to configure network adapters post-boot after the network has started may have unintended results.

Author

Red Hat, Inc.

 

参考至:http://linux.die.net/man/8/kudzu

                http://hi.baidu.com/wa0362/item/b8fa181f0f859f0a8fbde4db

                http://hi.baidu.com/darmn/item/b320878485e7cfceee083dcf

本文原创,转载请注明出处、作者

如有错误,欢迎指正

邮箱:czmcj@163.com

 

0
2
分享到:
评论

相关推荐

    kudzu:跳过清单

    kudzu和其他并发数据结构中的类型之间的主要区别在于kudzu的数据结构不支持删除操作。 这种限制使类型更易于实现,并希望性能更高,协调开销更少,同时对于许多应用程序仍然有用。 用例 这些可用于其中仅增长映射或...

    linux进程守护相关

    重要的守护进程,其中“crond、syslog、keytable、xinetd、kudzu、iptables”等是需要运行的,echo、echo-udp、daytime、daytime-udp、chargen、chargen-udp主要是做调试用,普通用户基本用不到,可以关闭。

    kudzu-admin-react

    npm run eject 注意:这是单向操作。 eject ,您将无法返回! 如果您对构建工具和配置选择不满意,则可以随时eject 。 此命令将从您的项目中删除单个生成依赖项。 相反,它将所有配置文件和传递性依赖项(w

    Kudzu- The new wave of distance learning-开源

    许多学校已经开始提供远程学习课程。 该项目旨在将远程学习课程所需的所有实用程序整合到一个套件中。 主程序将是一个基于客户端-服务器的程序,其中包含聊天室,论坛

    便携式电子传感器的开发,用于检测Kudzu Bug,

    为了减少这些损失并最大程度地减少控制成本,必须研究检测葛根虫的新方法,以优化控制措施。 一种这样的方法将是检测由葛根虫释放的挥发物。 开发了一种电子便携式设备,可将葛根虫产生的挥发性有机化合物(VOC)吸...

    Kudzu:Kudzu是Go C2平台,着重于可扩展性

    葛 Kudzu是一个基于Go的C2平台,重点是可扩展性。 我的目标是提供一个平台,可以在其中轻松添加和修改新脚本和漏洞并以现代语言编写。 这是一个崇高的目标,特别是对于一个单身的可疑技能的编码人员而言,但是有了...

    Kudzu-B-开源

    这是一个硬件自动检测和配置工具。 它检测系统硬件配置中的更改,并提供配置已添加或已删除设备的选项。 该项目不是由Red Hat维护的。

    crawler = Kudzu :: Crawler . new do user_agent 'YOUR_AWESOME_APP' add_filter do focus_host true allow_mime_type %w( text/html ) end end crawler . run ( 'http://example.com/' ) do on_success d

    diceware:Golang中的Diceware密码短语

    您可以看到已编译单词列表的列表: $ diceware listThe following word lists are available: diceware diceware8k可以这样使用: $ diceware -w diceware8k3631 1697 374 3706 3152 5801kiev defer arty kudzu ...

Global site tag (gtag.js) - Google Analytics