揮発性のメモ2

http://d.hatena.ne.jp/iww/

netstatの使い方

> netstat.exe -nab
Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1288
  c:\windows\system32\WS2_32.dll
  C:\WINDOWS\system32\RPCRT4.dll
  c:\windows\system32\rpcss.dll
  C:\WINDOWS\system32\svchost.exe
  -- 不明なコンポーネント --
  [svchost.exe]

  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  [システム]

  TCP    0.0.0.0:2425           0.0.0.0:0              LISTENING       176
  [ipmsg.exe]

-h ヘルプ表示
-n 名前解決しない(つけないと遅い)
-a リッスンも全部表示
-b プログラム名も表示(つけると超遅い)