]
トップ «前の日記(2010-08-13) 最新 次の日記(2010-08-18)» 編集

Yukiharu YABUKI の tDiary



このtDiaryを検索します。

2010-08-14 [長年日記]

_ netstatでは、ここまでの情報は出ないなあ。

基本にもどって、コマンドの動作を確認してたら、カーネル内部でのTCPの状態なども表示してくれるコマンドもあるなあと発見

State      Recv-Q Send-Q                                   Local Address:Port                                       Peer Address:Port   
LISTEN     0      10                                                   *:dict                                                  *:*        uid:111 ino:8648 sk:f6007540
	 mem:(r0,w0,f0,t0)
LISTEN     0      50                                                  :::netbios-ssn                                              :::*        ino:9229 sk:f5cb8ac0
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                  *:45227                                                 *:*        ino:7449 sk:f6b11500
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                 :::www                                                  :::*        ino:309614 sk:f5cb8580
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                  *:auth                                                  *:*        ino:8850 sk:f6412580
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                  *:ssh                                                   *:*        ino:3980228 sk:c4a409c0
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                 :::ssh                                                  :::*        ino:3980225 sk:f1c91580
	 mem:(r0,w0,f0,t0)
LISTEN     0      128                                                ::1:ipp                                                  :::*        ino:3956864 sk:f1c91ac0
	 mem:(r0,w0,f0,t0)
LISTEN     0      100                                                  *:smtp                                                  *:*        ino:9005 sk:f64120c0
	 mem:(r0,w0,f0,t0)
LISTEN     0      50                                                  :::microsoft-ds                                              :::*        ino:9227 sk:f69e0580
	 mem:(r0,w0,f0,t0)
ESTAB      0      0                                         192.168.11.4:47576                                    193.198.184.13:9999     timer:(keepalive,13min,0) users:(("xchat-gnome",814,20)) uid:1000 ino:3980308 sk:f6412a40
	 mem:(r0,w0,f0,t0) ts sackcubic wscale:5,6 rto:496 rtt:287.5/3 ato:40 cwnd:4 send 156.0Kbps rcv_rtt:288 rcv_space:10986
ESTAB      0      0                                         192.168.11.4:ssh                                        192.168.11.3:46314    timer:(keepalive,118min,0) ino:4006946 sk:f4f77040
	 mem:(r0,w0,f0,t0) ts sackcubic wscale:6,6 rto:204 rtt:7.5/3 ato:40 cwnd:4 send 6.2Mbps rcv_rtt:4 rcv_space:5792
ESTAB      0      0                                         192.168.11.4:33482                                      125.6.255.10:6660     timer:(keepalive,13min,0) users:(("xchat-gnome",814,24)) uid:1000 ino:3980315 sk:f4f779c0
	 mem:(r0,w0,f0,t0) ts sackcubic wscale:6,6 rto:216 rtt:19.5/7 ato:40 cwnd:4 ssthresh:3 send 2.3Mbps rcv_rtt:126876 rcv_space:6012
ESTAB      0      0                                         192.168.11.4:38698                                    192.168.11.240:ssh      timer:(keepalive,116min,0) users:(("ssh",24611,3)) uid:1000 ino:4006909 sk:c4a40500
	 mem:(r0,w0,f0,t0) ts sackcubic wscale:2,6 rto:212 rtt:13.5/13 ato:40 cwnd:5 send 4.3Mbps rcv_rtt:8 rcv_space:5840
sackがonでcubicアルゴリズムをつかって、TCPの伝送を行い、window scale、rto,rtt cwnd などなど。