Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run Centos

[user ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)

With kernel


How do I check the TCP initial window size in my OS? I need to verify that the IW is 10.

share|improve this question

You can do it with tcpdump:

# show http tcp SYN packets on any interface
tcpdump -n -i any 'tcp[tcpflags] & (tcp-syn|tcp-ack) == tcp-syn and port 80'

Result is like:

12:46:42.632366 IP > Flags [S], seq 3142522345, win 14600, options [mss 1460,sackOK,TS val 1588391 ecr 0,nop,wscale 6], length 0
12:43:37.310810 IP > S 2019031227:2019031227(0) win 5840 <mss 1460,nop,nop,timestamp 2617840050 0,nop,wscale 6>

Win and mss values are important to you. Your initial window is WIN/MSS, 10 in first case, 4 in second.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.