본문 바로가기
Unix.Linux

OS 별로 TIME_WAIT 시간 확인(AIX, LINUX, Solaris)

by 누피짱 2015. 4. 12.

유닉스 OS 별로 TIME_WAIT 시간을 확인하거나 셋팅하는 명령은 다음과 같다.

1) AIX
    - get : /usr/sbin/no -a | grep tcp_timewait
    - set : the TCP_TIMEWAIT values to 15 seconds, run the following command:
            /usr/sbin/no -o tcp_timewait = 1

2) LINUX
    - set : /sbin/sysctl -w net.ipv4.vs.timeout_timewait=30

This is set TIME_WAIT for 30 seconds.

3) Solaris
      Set the tcp_time_wait_interval to 30000 milliseconds  as follows:
    - get : /usr/sbin/ndd -get /dev/tcp tcp_time_wait_interval
    - set : /usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 30000

댓글