2007年6月4日星期一

HP-UX的内核参数的修改

/usr/conf/master.d/core-hpux

设定HP-UX的核心环境,对核心环境进行管理。但修改后不能立即对核心参数进行管理。
因为系统会向boot.config读出参数,所以只有移走boot.config,然后再用getkinfo
重建boot.config文件。在SAM--》Kernel configuration--> Parameter会自动运行
getkinfo 命令。

先修改/usr/conf/master.d/core-hpux:

*range maxfiles<=60000
*range maxfiles_lim<=60000

把/var/sam/boot.config文件mv成boot.config.bak

mv /var/sam/boot.config /var/sam/boot.config.bak

然后运行

/usr/sam/lbin/getkinfo -b

to recreate the boot.config file.



本文出自:www.hp.com.cn 作者

0 评论: