Chinaunix

标题: 关于用sam看到的参数 [打印本页]

作者: gzaurora    时间: 2005-05-19 19:27
标题: 关于用sam看到的参数
用下面的方法生成了新的boot.config,怎么用sam读到的还是和原来一样的?
/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.
作者: Janson-Chen    时间: 2005-05-20 10:36
标题: 关于用sam看到的参数
没太看明白楼主的目的




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2