ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to get and set the system socket buffer in AIX

How to get and set the system socket buffer in AIX

原创 Linux操作系统 作者:hunterjoy 时间:2010-11-15 22:06:38 0 删除 编辑

How to get and set the system socket buffer in AIX?

Dennis 18-05-2009

There are some parameters about the socket buffer in AIX.

sb_max 

Specifies the maximum buffer size allowed for a TCP and UDP socket. Limits setsockopt, udp_sendspace, udp_recvspace, tcp_sendspace, and tcp_recvspace.

 

udp_sendspace  Specifies the system default socket-buffer size for sending UDP data.

tcp_sendspace   Specifies the system default socket buffer size for sending data.

 

udp_recvspace  Specifies the system default socket-buffer size for receiving UDP data.

tcp_recvspace   Specifies the system default socket buffer size for receiving data. This affects the window size used by TCP.

 

How to get it? Take the sb_max for example.

            no -a|grep sb_max

How to set it? Take the sb_max for example.

            no -p -o sb_max=20971520

 

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/gobitan/archive/2009/05/18/4198961.aspx

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/543979/viewspace-678177/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-31

  • 博文量
    168
  • 访问量
    389704