Chinaunix首页 | 论坛 | 博客
  • 博客访问: 212529
  • 博文数量: 49
  • 博客积分: 1785
  • 博客等级: 上尉
  • 技术积分: 565
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-01 10:30
文章分类

全部博文(49)

文章存档

2013年(2)

2012年(7)

2011年(11)

2010年(6)

2009年(23)

我的朋友

分类:

2009-07-29 14:39:34



在HPUX平台上安装数据库的时候,经常需要去修改kernel参数,通常都是通过SAM去修改,也可以同kctune这个命令去修改。
直接数据kctune可以看到当前的kernel值

[rp4440@/]#kctune
Tunable                       Value  Expression  Changes
NSTREVENT                        50  Default     
NSTRPUSH                         16  Default     
NSTRSCHED                         0  Default     
STRCTLSZ                       1024  Default     
STRMSGSZ                          0  Default     
acctresume                        4  Default     
acctsuspend                       2  Default     
aio_listio_max                  256  Default     Immed
aio_max_ops                    2048  Default     Immed
aio_monitor_run_sec              30  Default     Immed
aio_physmem_pct                  10  Default     
aio_prio_delta_max               20  Default     Immed
aio_proc_thread_pct              70  Default     Immed
aio_proc_threads               1024  Default     Immed
aio_req_per_thread                1  Default     Immed
。。。。。。。。。。。。。。。。

假设我们要修改aio_max_ops ,目前是2048,修改成4096

可以这样执行

[rp4440@/]#kctune aio_max_ops=4096
WARNING: The automatic 'backup' configuration currently contains the
         configuration that was in use before the last reboot of this
         system.
     ==> Do you wish to update it to contain the current configuration
         before making the requested change? y
       * The automatic 'backup' configuration has been updated.
       * The requested changes have been applied to the currently
         running system.
Tunable                Value  Expression  Changes
aio_max_ops  (before)   2048  Default     Immed
             (now)      4096  4096        
             
会提示你是否要修改,数据“Y"进行修改,修改后会显示当前值和以前值

 
阅读(2315) | 评论(0) | 转发(0) |
0

上一篇:flashback学习笔记

下一篇:informix常用命令

给主人留下些什么吧!~~