Solaris tcp_keepalive_abort_interval

tcp_keepalive_abort_interval的 Solaris参考手册中有一节。

但是,它不会出现在ndd /dev/tcp \? 清单。

 # uname -srvmpi SunOS 5.10 Generic_142909-17 sun4us sparc FJSV,GPUZC-L # ndd /dev/tcp \? | grep keepalive tcp_keepalive_interval (read and write) 

你们有没有知道这个参数在哪里?

更新:看来我正在阅读错误的文档,感谢您指出。

它是OpenSolaris / Solaris 11参数,在Solaris 10中不可用:

 $ uname -a SunOS openindiana01 5.11 oi_147 i86pc i386 i86pc Solaris $ ndd -get /dev/tcp tcp_keepalive_abort_interval 480000 

有一个已知的文档错误: http : //docs.oracle.com/cd/E19082-01/819-2724/chapter1-1/index.html

此参数仅在基于SunOS 5.11的操作系统中可用。

 $ uname -srvmpi SunOS 5.11 snv_134 i86pc i386 i86pc $ ndd /dev/tcp \? | grep keepalive tcp_keepalive_interval (read and write) tcp_keepalive_abort_interval (read and write) 

使用ipadm / dladm命令在solaris 11中显示内核networking参数,不build议使用ndd命令。

显示Keepalivevariables的使用:

 ipadm show-prop -p _keepalive_interval tcp 

要在重新启动时保存持久性configuration

 ipadm set-prop -p _keepalive_interval=600000 tcp 

如果您想要将其更改为testing目的,请使用-t键。

IP参数命名Oracle Solaris 11中的更改