How to get and set the system socket buffer in AIX

hunterjoy發表於2010-11-15

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部落格 ” ,連結:http://blog.itpub.net/543979/viewspace-678177/,如需轉載,請註明出處,否則將追究法律責任。

相關文章