OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / net-tools / draft / man8 / netstat.8
1 .\"
2 .\" netstat.8 
3 .\"
4 .\" Original: (mdw@tc.cornell.edu & dc6iq@insu1.etec.uni-karlsruhe.de)
5 .\"
6 .\" Modified: Bernd.Eckenfels@inka.de
7 .\" Modified: Andi Kleen ak@muc.de 
8 .\" Modified: Tuan Hoang tqhoang@bigfoot.com 
9 .\"
10 .\"
11 .\"
12 .\" Japanese Version Copyright (c) 1997 NAKANO Takeo all rights reserved.
13 .\" Translated Thu Jan 22 1998 by NAKANO Takeo <nakano@@apm.seikei.ac.jp>
14 .\" Updated Sat Dec 25 1999 by Kentaro Shirakata <argrath@yo.rim.or.jp>
15 .\" Updated Sun Jan 14 20:46:00 JST 2001
16 .\"     by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
17 .\" Updated & Modified Tue Dec 25 17:18:23 JST 2001
18 .\"     by Yuichi SATO <ysato@h4.dion.ne.jp>
19 .\"
20 .TH NETSTAT 8 "19 December 2000" "net-tools" "Linux Programmer's Manual"
21
22 .\"O .SH NAME
23 .SH Ì¾Á°
24 .\"O netstat \- Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
25 netstat \- ¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¡¢·ÐÏ©¥Æ¡¼¥Ö¥ë¡¢¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î¾õÂÖ¡¢¥Þ¥¹¥«¥ì¡¼¥ÉÀܳ¡¢ netlink ¥á¥Ã¥»¡¼¥¸¡¢¥Þ¥ë¥Á¥­¥ã¥¹¥È¤Î¥á¥ó¥Ð¡¼¥·¥Ã¥×¤òɽ¼¨¤¹¤ë
26
27 .\"O .SH SYNOPSIS
28 .SH ½ñ¼°
29
30 .B netstat 
31 .RI [ address_family_options ]
32 .RB [ \-\-tcp | \-t ]
33 .RB [ \-\-udp | \-u ]
34 .RB [ \-\-raw | \-w ]
35 .RB [ \-\-listening | \-l ]
36 .RB [ \-\-all | \-a ]
37 .RB [ \-\-numeric | \-n ]
38 .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ]
39 .RB [ \-\-symbolic | \-N ]
40 .RB [ \-\-extend | \-e  [ \-\-extend | \-e] ]
41 .RB [ \-\-timers | \-o ]
42 .RB [ \-\-program | \-p ]
43 .RB [ \-\-verbose | \-v ]
44 .RB [ \-\-continuous | \-c]
45 .P
46 .B netstat 
47 .RB { \-\-route | \-r }
48 .RI [ address_family_options ]
49 .RB [ \-\-extend | \-e  [ \-\-extend | \-e] ]
50 .RB [ \-\-verbose | \-v ]
51 .RB [ \-\-numeric | \-n ]
52 .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ]
53 .RB [ \-\-continuous | \-c]
54 .P
55 .B netstat
56 .RB { \-\-interfaces | \-i }
57 .RI [ iface ]
58 .RB [ \-\-all | \-a ]
59 .RB [ \-\-extend | \-e  [ \-\-extend | \-e] ]
60 .RB [ \-\-verbose | \-v ]
61 .RB [ \-\-program | \-p ]
62 .RB [ \-\-numeric | \-n ]
63 .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ]
64 .RB [ \-\-continuous | \-c]
65 .P
66 .B netstat
67 .RB { \-\-groups | \-g }
68 .RB [ \-\-numeric | \-n ]
69 .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ]
70 .RB [ \-\-continuous | \-c]
71 .P
72 .B netstat
73 .RB { \-\-masquerade | \-M }
74 .RB [ \-\-extend | \-e ]
75 .RB [ \-\-numeric | \-n ]
76 .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ]
77 .RB [ \-\-continuous | \-c]
78 .P
79 .B netstat
80 .RB { \-\-statistics | -s }
81 .RB [ \-\-tcp | \-t ]
82 .RB [ \-\-udp | \-u ]
83 .RB [ \-\-raw | \-w ]
84 .P
85 .B netstat 
86 .RB { \-\-version | \-V }
87 .P
88 .B netstat 
89 .RB { \-\-help | \-h }
90 .P
91 .IR address_family_options :
92 .PP
93 .RB [ \-\-protocol= { inet , unix , ipx , ax25 , netrom , ddp }[, ...] ]
94 .RB [ \-\-unix | \-x ] 
95 .RB [ \-\-inet | \-\-ip ]
96 .RB [ \-\-ax25 ]
97 .RB [ \-\-ipx ] 
98 .RB [ \-\-netrom ]
99 .RB [ \-\-ddp ]
100
101 .\"O .SH DESCRIPTION
102 .SH ÀâÌÀ
103 .\"O .B Netstat
104 .\"O prints information about the Linux networking subsystem.  The type of
105 .\"O information printed is controlled by the first argument, as follows:
106 .B netstat
107 ¤Ï Linux ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥·¥¹¥Æ¥à¤Ë´Ø¤¹¤ë¾ðÊó¤òɽ¼¨¤¹¤ë¡£
108 ɽ¼¨¤µ¤ì¤ë¾ðÊó¤Î¥¿¥¤¥×¤Ï¡¢ºÇ½é¤Î°ú¤­¿ô¤Ç°Ê²¼¤Î¤è¤¦¤ËÀ©¸æ¤µ¤ì¤ë¡£
109 .\"O .SS (none)
110 .\"O By default,
111 .\"O .B
112 .\"O netstat 
113 .\"O displays a list of open sockets.  If you don't specify any
114 .\"O address families, then the active sockets of all configured address
115 .\"O families will be printed.
116 .SS (°ú¤­¿ô¤Ê¤·)
117 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢
118 .B netstat
119 ¤Ï¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥½¥±¥Ã¥È¤Î°ìÍ÷¤òɽ¼¨¤¹¤ë¡£
120 ¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
121 ÀßÄꤵ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼¤Ë´Ø¤·¤Æ¡¢
122 ¥¢¥¯¥Æ¥£¥Ö¤Ê¥½¥±¥Ã¥È¤¬É½¼¨¤µ¤ì¤ë¡£
123 .SS "\-\-route , \-r"
124 .\"O Display the kernel routing tables.
125 ¥«¡¼¥Í¥ë¤Î·ÐÏ©¥Æ¡¼¥Ö¥ë¤òɽ¼¨¤¹¤ë¡£
126 .SS "\-\-groups , \-g"
127 .\"O Display multicast group membership information for IPv4 and IPv6.
128 IPv4 ¤È IPv6 ¤Î¥Þ¥ë¥Á¥­¥ã¥¹¥È¥°¥ë¡¼¥×¥á¥ó¥Ð¡¼¥·¥Ã¥×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
129 .SS "\-\-interface=\fIiface \fR, \fB\-i"
130 .\"O Display a table of all network interfaces, or the specified
131 .\"O .IR iface ) .
132 Á´¤Æ¤Î (¤¢¤ë¤¤¤Ï
133 .I iface
134 ¤Ç»ØÄꤷ¤¿) ¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î¾õÂ֥ơ¼¥Ö¥ë¤òɽ¼¨¤¹¤ë¡£
135 .SS "\-\-masquerade , \-M"
136 .\"O Display a list of masqueraded connections.
137 ¥Þ¥¹¥«¥ì¡¼¥É¤µ¤ì¤¿Àܳ¤òɽ¼¨¤¹¤ë¡£
138 .SS "\-\-statistics , \-s"
139 .\"O Display summary statistics for each protocol.
140 ³Æ¥×¥í¥È¥³¥ë¤ÎÅý·×¾ðÊó¤Î°ìÍ÷¤òɽ¼¨¤¹¤ë¡£
141 .\"O .SH OPTIONS
142 .SH ¥ª¥×¥·¥ç¥ó
143 .SS "\-\-verbose , \-v"
144 .\"O Tell the user what is going on by being verbose. Especially print some
145 .\"O useful information about unconfigured address families.
146 ¾ÜºÙɽ¼¨¥â¡¼¥É¤Ë¤Ê¤ê¡¢µ¯¤³¤Ã¤Æ¤¤¤ë¤³¤È¤ò¥æ¡¼¥¶¡¼¤ËÃΤ餻¤ë¡£
147 Æäˡ¢ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼´Ø¤¹¤ëÍ­ÍѤʾðÊó¤ò¤¤¤¯¤Ä¤«É½¼¨¤¹¤ë¡£
148 .SS "\-\-numeric , \-n"
149 .\"O Show numerical addresses instead of trying to determine symbolic host, port
150 .\"O or user names.
151 ¥Û¥¹¥È¡¦¥Ý¡¼¥È¡¦¥æ¡¼¥¶¡¼¤Ê¤É¤Î̾Á°¤ò²ò·è¤»¤º¤Ë¡¢¿ô»ú¤Î¥¢¥É¥ì¥¹¤Çɽ¼¨¤¹¤ë¡£
152 .SS "\-\-numeric-hosts"
153 .\"O shows numerical host addresses but does not affect the resolution of
154 .\"O port or user names.
155 ¥Û¥¹¥È¥¢¥É¥ì¥¹¤ò¿ôÃͤÇɽ¼¨¤¹¤ë¡£
156 ¤¿¤À¤·¡¢¥Ý¡¼¥È̾¤È¥æ¡¼¥¶¡¼Ì¾¤Î²ò·è¤Ï¹Ô¤¦¡£
157 .SS "\-\-numeric-ports"
158 .\"O shows numerical port numbers but does not affect the resolution of
159 .\"O host or user names.
160 ¥Ý¡¼¥ÈÈÖ¹æ¤ò¿ôÃͤÇɽ¼¨¤¹¤ë¡£
161 ¤¿¤À¤·¡¢¥Û¥¹¥È̾¤È¥æ¡¼¥¶¡¼Ì¾¤Î²ò·è¤Ï¹Ô¤¦¡£
162 .SS "\-\-numeric-users"
163 .\"O shows numerical user IDs but does not affect the resolution of host or
164 .\"O port names.
165 ¥æ¡¼¥¶¡¼ ID ¤ò¿ôÃͤÇɽ¼¨¤¹¤ë¡£
166 ¤¿¤À¤·¡¢¥Û¥¹¥È̾¤È¥Ý¡¼¥È̾¤Î²ò·è¤Ï¹Ô¤¦¡£
167
168 .SS "\-\-protocol=\fIfamily \fR, \fB\-A"
169 .\"O Specifies the address families (perhaps better described as low level
170 .\"O protocols) for which connections are to be shown.
171 .\"O .I family 
172 .\"O is a comma (',') separated list of address family keywords like
173 .\"O .BR inet , 
174 .\"O .BR unix , 
175 .\"O .BR ipx , 
176 .\"O .BR ax25 , 
177 .\"O .BR netrom ,
178 .\"O and
179 .\"O .BR ddp .
180 Àܳ¾õÂÖ¤òɽ¼¨¤¹¤ë¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼¤ò»ØÄꤹ¤ë
181 (Äã¥ì¥Ù¥ë¤Î¥×¥í¥È¥³¥ë¤ò»ØÄꤹ¤ì¤Ð¡¢
182 ¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼¤ò¤¦¤Þ¤¯µ­½Ò¤Ç¤­¤ë¤À¤í¤¦)¡£
183 .I family
184 ¤Ï¥³¥ó¥Þ (',') ¤Ç¶èÀÚ¤é¤ì¤¿¥ê¥¹¥È¤Ç¡¢
185 ¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼¤Î¥­¡¼¥ï¡¼¥É¤ò»ØÄꤹ¤ë¡£
186 ¥­¡¼¥ï¡¼¥É¤È¤·¤Æ
187 .BR inet , 
188 .BR unix , 
189 .BR ipx , 
190 .BR ax25 , 
191 .BR netrom ,
192 .BR ddp
193 ¤¬»ØÄê¤Ç¤­¤ë¡£
194 .\"O This has the same effect as using the 
195 .\"O .BR \-\-inet ,
196 .\"O .BR \-\-unix " (" \-x ),
197 .\"O .BR \-\-ipx ,
198 .\"O .BR \-\-ax25 ,
199 .\"O .BR \-\-netrom ,
200 .\"O and
201 .\"O .B \-\-ddp 
202 .\"O options.
203 ¤³¤ì¤Ï¡¢
204 .BR \-\-inet ,
205 .BR \-\-unix " (" \-x ),
206 .BR \-\-ipx ,
207 .BR \-\-ax25 ,
208 .BR \-\-netrom ,
209 .B \-\-ddp
210 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¾ì¹ç¤ÈƱ¤¸¸ú²Ì¤¬¤¢¤ë¡£
211 .P
212 .\"O The address family
213 .\"O .B inet
214 .\"O includes raw, udp and tcp protocol sockets.
215 ¥¢¥É¥ì¥¹¥Õ¥¡¥ß¥ê¡¼
216 .B inet
217 ¤Ë¤Ï
218 raw, udp, tcp ¥×¥í¥È¥³¥ë¥½¥±¥Ã¥È¤¬´Þ¤Þ¤ì¤ë¡£
219 .SS "\-c, \-\-continuous"
220 .\"O This will cause
221 .\"O .B netstat
222 .\"O to print the selected information every second continuously.
223 »ØÄꤵ¤ì¤¿¾ðÊó¤ò 1 É䴤ȤËɽ¼¨¤·Â³¤±¤ë¡£
224 .SS "\-e, \-\-extend"
225 .\"O Display additional information.  Use this option twice for maximum detail.
226 ¤µ¤é¤Ë¾Ü¤·¤¤¾ðÊó¤òɽ¼¨¤¹¤ë¡£
227 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò 2 ¸Ä»ØÄꤹ¤ì¤ÐºÇ¤â¾Ü¤·¤¤É½¼¨¤¬ÆÀ¤é¤ì¤ë¡£
228 .SS "\-o, \-\-timers"
229 .\"O Include information related to networking timers.
230 ¥Í¥Ã¥È¥ï¡¼¥­¥ó¥°¥¿¥¤¥Þ¡¼¤Ë´Ø¤¹¤ë¾ðÊó¤¬Äɲ䵤ì¤ë¡£
231 .SS "\-p, \-\-program"
232 .\"O Show the PID and name of the program to which each socket belongs.
233 ³Æ¥½¥±¥Ã¥È¤¬Â°¤·¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Î PID ¤È̾Á°¤¬É½¼¨¤µ¤ì¤ë¡£
234 .SS "\-l, \-\-listening"
235 .\"O Show only listening sockets.  (These are omitted by default.)
236 ÀܳÂÔ¤Á (listen) ¾õÂ֤ˤ¢¤ë¥½¥±¥Ã¥È¤Î¤ß¤òɽ¼¨¤¹¤ë
237 (¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¾Êά¤µ¤ì¤ë)¡£
238 .SS "\-a, \-\-all"
239 .\"O Show both listening and non-listening sockets.  With the
240 .\"O .B --interfaces
241 .\"O option, show interfaces that are not marked 
242 ÀܳÂÔ¤Á¾õÂ֤ˤ¢¤ë¥½¥±¥Ã¥È¤â¡¢ÀܳÂÔ¤Á¾õÂ֤ˤʤ¤¥½¥±¥Ã¥È¤âɽ¼¨¤¹¤ë¡£
243 .B --interfaces
244 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
245 ¥Þ¡¼¥¯¤µ¤ì¤Æ¤¤¤Ê¤¤¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òɽ¼¨¤¹¤ë¡£
246 .SS "\-F"
247 .\"O Print routing information from the FIB.  (This is the default.)
248 FIB ¤«¤é¤Î·ÐÏ©¾ðÊó¤òɽ¼¨¤¹¤ë (¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë)¡£
249 .SS "\-C"
250 .\"O Print routing information from the route cache.
251 .\"O .IR UP .
252 ·ÐÏ©¥­¥ã¥Ã¥·¥å¤«¤é¤Î·ÐÏ©¾ðÊó¤òɽ¼¨¤¹¤ë¡£
253 .P
254 .\"O .SH OUTPUT
255 .SH ½ÐÎÏ
256 .P
257 .\"O .SS Active Internet connections \fR(TCP, UDP, raw)\fR
258 .SS ¥¢¥¯¥Æ¥£¥Ö¤Ê¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÀܳ \fR(TCP, UDP, raw)\fR
259 .SS "Proto" 
260 .\"O The protocol (tcp, udp, raw) used by the socket. 
261 ¥½¥±¥Ã¥È¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤ë¥×¥í¥È¥³¥ë (tcp, udp, raw ¤Î¤¤¤º¤ì¤«)¡£
262 .SS "Recv-Q"
263 .\"O The count of bytes not copied by the user program connected to this socket.
264 ¤³¤Î¥½¥±¥Ã¥È¤ËÀܳ¤µ¤ì¤¿¥æ¡¼¥¶¡¼¥×¥í¥°¥é¥à¤ËÅϤµ¤ì¤Ê¤«¤Ã¤¿¥Ç¡¼¥¿¤Î¥Ð¥¤¥È¿ô¡£
265 .SS "Send-Q"
266 .\"O The count of bytes not acknowledged by the remote host.
267 ¥ê¥â¡¼¥È¥Û¥¹¥È¤Ë¼õ¤±Æþ¤ì¤é¤ì¤Ê¤«¤Ã¤¿¥Ç¡¼¥¿¤Î¥Ð¥¤¥È¿ô¡£
268 .SS "Local Address" 
269 .\"O Address and port number of the local end of the socket.  Unless the
270 .\"O .BR \-\-numeric " (" \-n )
271 .\"O option is specified, the socket address is resolved to its canonical
272 .\"O host name (FQDN), and the port number is translated into the
273 .\"O corresponding service name.
274 ¥í¡¼¥«¥ë¦¥½¥±¥Ã¥È¤Î¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈֹ档
275 .BR \-\-numeric " (" \-n )
276 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤¤¸Â¤ê¡¢
277 ¥½¥±¥Ã¥È¥¢¥É¥ì¥¹¤ÏÀµ¼°¤Ê¥Û¥¹¥È̾ (FQDN) ¤Ë¤Ê¤ê¡¢
278 ¥Ý¡¼¥ÈÈÖ¹æ¤ÏÂбþ¤¹¤ë¥µ¡¼¥Ó¥¹Ì¾¤ËÊÑ´¹¤µ¤ì¤ë¡£
279 .SS "Foreign Address"
280 .\"O Address and port number of the remote end of the socket.
281 .\"O Analogous to "Local Address."
282 ¥ê¥â¡¼¥È¦¥½¥±¥Ã¥È¤Î¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈֹ档
283 ¤½¤Î¾¤Ï "Local Address" ¤ÈƱÍͤǤ¢¤ë¡£ 
284 .SS "State"
285 .\"O The state of the socket. Since there are no states in raw mode and usually no
286 .\"O states used in UDP, this column may be left blank. Normally this can be one
287 .\"O of several values:
288 ¥½¥±¥Ã¥È¤Î¾õÂÖ (state)¡£ 
289 raw ¥â¡¼¥É¤Ë¤Ï¾õÂÖ¤¬¤Ê¤¯¡¢¤Þ¤¿ UDP ¤âÄ̾ï¾õÂÖ¤ò»ÈÍѤ·¤Ê¤¤¤¿¤á¡¢
290 ¤³¤Î¹àÌܤ϶õÇò¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
291 ÉáÄ̤ϰʲ¼¤ÎÃͤΤɤ줫:
292 .TP
293 .I
294 ESTABLISHED
295 .\"O The socket has an established connection.
296 ¥½¥±¥Ã¥È¤Ï³ÎΩ¤·¤¿Àܳ¾õÂ֤ˤ¢¤ë¡£
297 .TP
298 .I
299 SYN_SENT
300 .\"O The socket is actively attempting to establish a connection.
301 ¥½¥±¥Ã¥È¤ÏÀܳ¤ò³ÎΩ¤·¤è¤¦¤È»î¤ß¤Æ¤¤¤ë¡£
302 .TP
303 .I
304 SYN_RECV
305 .\"O A connection request has been received from the network.
306 ÀܳÍ×µá¤ò¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¼õ¿®¤·¤Æ¤¤¤ë¡£
307 .TP
308 .I
309 FIN_WAIT1
310 .\"O The socket is closed, and the connection is shutting down.
311 ¥½¥±¥Ã¥È¤Ï¥¯¥í¡¼¥º¤µ¤ì¤Æ¤ª¤ê¡¢Àܳ¤ÏÀÚÃÇÃæ¤Ç¤¢¤ë¡£
312 .TP
313 .I
314 FIN_WAIT2
315 .\"O Connection is closed, and the socket is waiting for a shutdown from the
316 .\"O remote end.
317 Àܳ¤Ï¥¯¥í¡¼¥º¤µ¤ì¡¢¥½¥±¥Ã¥È¤Ï¥ê¥â¡¼¥È¦¤«¤é¤ÎÀÚÃǤòÂԤäƤ¤¤ë¡£
318 .TP
319 .I
320 TIME_WAIT
321 .\"O The socket is waiting after close to handle packets still in the network.
322 ¥½¥±¥Ã¥È¤Ï¡¢¥¯¥í¡¼¥º¸å¤Ë¥ê¥â¡¼¥È¤«¤é¤ÎÀÚÃǤ¬ºÆÁ÷¤µ¤ì¤ë¤Î¤òÂԤäƤ¤¤ë¡£
323 .TP
324 .I
325 CLOSED
326 .\"O The socket is not being used.
327 ¥½¥±¥Ã¥È¤Ï»ÈÍѤµ¤ì¤Æ¤¤¤Ê¤¤¡£
328 .TP
329 .I
330 CLOSE_WAIT
331 .\"O The remote end has shut down, waiting for the socket to close.
332 ¥ê¥â¡¼¥È¦¤Ï´û¤ËÀÚÃǤµ¤ì¡¢¥½¥±¥Ã¥È¤¬¥¯¥í¡¼¥º¤µ¤ì¤ë¤Î¤òÂԤäƤ¤¤ë¡£
333 .TP
334 .I
335 LAST_ACK
336 .\"O The remote end has shut down, and the socket is closed. Waiting for
337 .\"O acknowledgement.
338 ¥ê¥â¡¼¥È¦¤Ï´û¤ËÀÚÃǤµ¤ì¡¢¥½¥±¥Ã¥È¤â¥¯¥í¡¼¥º¤µ¤ì¤Æ¤¤¤ë¡£
339 ³Îǧ (acknowledgement) ¤òÂԤäƤ¤¤ë¡£
340 .TP
341 .I
342 LISTEN
343 .\"O The socket is listening for incoming connections.  Such sockets are 
344 .\"O not included in the output unless you specify the 
345 .\"O .BR \-\-listening " (" \-l )
346 .\"O or 
347 .\"O .BR \-\-all " (" \-a )
348 .\"O option.
349 ¥½¥±¥Ã¥È¤ÏÀܳÂÔ¤Á (listen) ¤Ç¤¢¤ë¡£
350 ¤³¤Î¤è¤¦¤Ê¥½¥±¥Ã¥È¤Ï¡¢
351 .BR \-\-listening " (" \-l )
352 ¤Þ¤¿¤Ï
353 .BR \-\-all " (" \-a )
354 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¸Â¤ê¡¢½ÐÎϤˤϴޤޤì¤Ê¤¤¡£
355 .TP
356 .I
357 CLOSING
358 .\"O Both sockets are shut down but we still don't have all our data
359 .\"O sent.
360 ξÊý¤Î¥½¥±¥Ã¥È¤¬ÀÚÃǤµ¤ì¤Æ¤¤¤ë¤¬¡¢¤Þ¤ÀÁ´¤Æ¤Î¥Ç¡¼¥¿¤¬Á÷¤é¤ì¤Æ¤¤¤Ê¤¤¡£
361 .TP
362 .I
363 UNKNOWN
364 .\"O The state of the socket is unknown.
365 ¥½¥±¥Ã¥È¤Î¾õÂÖ¤ÏÉÔÌÀ¤Ç¤¢¤ë¡£
366 .SS "User"
367 .\"O The username or the user id (UID) of the owner of the socket.
368 ¥½¥±¥Ã¥È¤Î¥ª¡¼¥Ê¡¼¤Î¡¢Ì¾Á°¤Þ¤¿¤Ï¥æ¡¼¥¶¡¼ ID (UID)¡£
369 .SS "PID/Program name"
370 .\"O Slash-separated pair of the process id (PID) and process name of the 
371 .\"O process that owns the socket.
372 .\"O .B --program
373 .\"O causes this column to be included.  You will also need
374 .\"O .I superuser
375 .\"O privileges to see this information on sockets you don't own.  This
376 .\"O identification information is not yet available for IPX sockets.
377 ¤³¤Î¥½¥±¥Ã¥È¤ò½êÍ­¤·¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Î
378 ¥×¥í¥»¥¹ ID (PID) ¤È¥×¥í¥°¥é¥à̾¤ÎÂР(¥¹¥é¥Ã¥·¥å¤Ç¶èÀÚ¤é¤ì¤ë)¡£
379 .B --program
380 ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ¤³¤Î¹àÌܤ¬¸½¤ì¤ë¡£
381 ¼«Ê¬¤¬½êÍ­¤·¤Æ¤¤¤Ê¤¤¥½¥±¥Ã¥È¤Î¾ðÊó¤ò¸«¤ë¤¿¤á¤Ë¤Ï¡¢
382 .I ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼
383 Æø¢¤¬É¬ÍפǤ¢¤ë¡£
384 ¤³¤Î¼±Ê̾ðÊó¤Ï IPX ¥½¥±¥Ã¥È¤ËÂФ·¤Æ¤Ï¤Þ¤ÀÍøÍѤǤ­¤Ê¤¤¡£
385 .SS "Timer"
386 .\"O (this needs to be written)
387 (¤Þ¤À½ñ¤¤¤Æ¤¤¤Ê¤¤)
388 .P
389 .\"O .SS Active UNIX domain Sockets
390 .SS ¥¢¥¯¥Æ¥£¥Ö¤Ê UNIX ¥É¥á¥¤¥ó¥½¥±¥Ã¥È
391 .SS "Proto" 
392 .\"O The protocol (usually unix) used by the socket.
393 ¥½¥±¥Ã¥È¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤ë¥×¥í¥È¥³¥ë (Ä̾ï¤Ï unix)¡£
394 .SS "RefCnt"
395 .\"O The reference count (i.e. attached processes via this socket).
396 »²¾È¥«¥¦¥ó¥È (¤³¤Î¥½¥±¥Ã¥È¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¥×¥í¥»¥¹¿ô)¡£
397 .SS "Flags"
398 .\"O The flags displayed is SO_ACCEPTON (displayed as 
399 .\"O .BR ACC ),
400 .\"O SO_WAITDATA 
401 .\"O .RB ( W )
402 .\"O or SO_NOSPACE 
403 .\"O .RB ( N ). 
404 .\"O SO_ACCECPTON 
405 .\"O is used on unconnected sockets if their corresponding
406 .\"O processes are waiting for a connect request. The other flags are not
407 .\"O of normal interest.
408 ɽ¼¨¤µ¤ì¤ë¥Õ¥é¥°¤Ï SO_ACCEPTON (\fBACC\fP ¤Èɽ¼¨¤µ¤ì¤ë)¡¢
409 SO_WAITDATA (\fBW\fP)¡¢ SO_NOSPACE (\fBN\fP) ¤Ç¤¢¤ë¡£
410 SO_ACCEPTON ¤Ï¡¢¥½¥±¥Ã¥È¤¬Àܳ¤µ¤ì¤Æ¤ª¤é¤º¡¢
411 ¤«¤Ä¤½¤ì¤òÍѤ¤¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤¬ÀܳÍ×µá¤òÂԤäƤ¤¤ë¾ì¹ç¤ËÍѤ¤¤é¤ì¤ë¡£
412 ¾¤Î¥Õ¥é¥°¤ÏÄ̾ï¤Ï½ÅÍפǤϤʤ¤¡£
413 .SS "Type"
414 .\"O There are several types of socket access:
415 ¥½¥±¥Ã¥È¥¢¥¯¥»¥¹¤Î¥¿¥¤¥×¡£²¿¼ïÎफ¤¢¤ë:
416 .TP
417 .I
418 SOCK_DGRAM
419 .\"O The socket is used in Datagram (connectionless) mode.
420 ¥Ç¡¼¥¿¥°¥é¥à (connectionless) ¥â¡¼¥É¤Î¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
421 .TP
422 .I
423 SOCK_STREAM
424 .\"O This is a stream (connection) socket.
425 ¥¹¥È¥ê¡¼¥à (connection) ¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
426 .TP
427 .I
428 SOCK_RAW
429 .\"O The socket is used as a raw socket.
430 raw ¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
431 .TP
432 .I
433 SOCK_RDM
434 .\"O This one serves reliably-delivered messages.
435 ¿®ÍêÀ­¤Î¹â¤¤¥á¥Ã¥»¡¼¥¸¤òÆϤ±¤ë¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
436 .TP
437 .I
438 SOCK_SEQPACKET
439 .\"O This is a sequential packet socket.
440 ¥·¡¼¥±¥ó¥·¥ã¥ë¥Ñ¥±¥Ã¥È¤Î¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
441 .TP
442 .I
443 SOCK_PACKET
444 .\"O Raw interface access socket.
445 raw ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¥¢¥¯¥»¥¹¤Î¥½¥±¥Ã¥È¤Ç¤¢¤ë¡£
446 .TP
447 .I
448 UNKNOWN
449 .\"O Who ever knows what the future will bring us - just fill in here :-)
450 ¾­Íè¤Ê¤Ë¤¬µ¯¤³¤ë¤«Ã¯¤¬ÃÎ¤í¤¦¤« - ¤³¤³¤Ë½ñ¤¤¤Æ²¼¤µ¤¤ :-)
451 .PP
452 .SS "State"
453 .\"O This field will contain one of the following Keywords:
454 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ï¡¢°Ê²¼¤Î¥­¡¼¥ï¡¼¥É¤Î¤¤¤º¤ì¤«¤¬Æþ¤ë:
455 .TP
456 .I FREE
457 .\"O The socket is not allocated
458 ¥½¥±¥Ã¥È¤Ï³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Ê¤¤¡£
459 .TP
460 .I LISTENING 
461 .\"O The socket is listening for a connection request.  Such
462 .\"O sockets are only included in the output if you specify the
463 .\"O .BR \-\-listening " (" \-l )
464 .\"O or
465 .\"O .BR \-\-all " (" \-a )
466 .\"O option.
467 ¥½¥±¥Ã¥È¤ÏÀܳÍ×µá¤ÎÂÔ¤Á¾õÂ֤Ǥ¢¤ë¡£
468 ¤³¤ì¤é¤Î¥½¥±¥Ã¥È¤Ï¡¢
469 .BR \-\-listening " (" \-l )
470 ¤Þ¤¿¤Ï
471 .BR \-\-all " (" \-a )
472 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤¤¸Â¤ê¡¢½ÐÎϤµ¤ì¤Ê¤¤¡£
473 .TP
474 .I CONNECTING
475 .\"O The socket is about to establish a connection.
476 ¥½¥±¥Ã¥È¤ÏÀܳÃæ¤Ç¤¢¤ë¡£
477 .TP
478 .I CONNECTED
479 .\"O The socket is connected.
480 ¥½¥±¥Ã¥È¤ÏÀܳ¤µ¤ì¤Æ¤¤¤ë¡£
481 .TP
482 .I DISCONNECTING
483 .\"O The socket is disconnecting.
484 ¥½¥±¥Ã¥È¤ÏÀÚÃÇÃæ¤Ç¤¢¤ë¡£
485 .TP
486 .\"O .I (empty)
487 .\"O The socket is not connected to another one.
488 .I (¶õÇò)
489 ¥½¥±¥Ã¥È¤Ï¾¤Î¥½¥±¥Ã¥È¤ËÀܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
490 .TP
491 .I UNKNOWN
492 .\"O This state should never happen.
493 ¤³¤Î¥¹¥Æ¡¼¥È¤Ï¸½¤ï¤ì¤Ê¤¤¤Ï¤º¤Ç¤¢¤ë¡£
494 .SS "PID/Program name"
495 .\"O Process ID (PID) and process name of the process that has the socket open. 
496 .\"O More info available in
497 .\"O .B "Active Internet connections"
498 .\"O section written above.
499 ¤³¤Î¥½¥±¥Ã¥È¤ò¥ª¡¼¥×¥ó¤·¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Î¥×¥í¥»¥¹ ID (PID) ¤È¥×¥í¥»¥¹Ì¾¡£
500 ¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï¾åµ­¤Î
501 .B ¥¢¥¯¥Æ¥£¥Ö¤Ê¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÀܳ
502 ¤Î¹à¤ò»²¾È¤Î¤³¤È¡£
503 .SS "Path"
504 .\"O This is the path name as which the corresponding processes attached
505 .\"O to the socket.
506 ¥½¥±¥Ã¥È¤Ë·ë¤ÓÉÕ¤±¤é¤ì¤Æ¤¤¤ë¥×¥í¥»¥¹¤Î¥Ñ¥¹Ì¾¡£
507 .P
508 .\"O .SS Active IPX sockets
509 .\"O (this needs to be done by somebody who knows it)
510 .SS ¥¢¥¯¥Æ¥£¥Ö¤Ê IPX ¥½¥±¥Ã¥È
511 (Ã챤ò»ý¤Ã¤Æ¤¤¤ë¿Í¤¬µ­½Ò¤·¤Æ¤Û¤·¤¤)
512 .P
513 .\"O .SS Active NET/ROM sockets
514 .\"O (this needs to be done by somebody who knows it)
515 .SS ¥¢¥¯¥Æ¥£¥Ö¤Ê NET/ROM ¥½¥±¥Ã¥È
516 (Ã챤ò»ý¤Ã¤Æ¤¤¤ë¿Í¤¬µ­½Ò¤·¤Æ¤Û¤·¤¤)
517 .P
518 .\"O .SS Active AX.25 sockets
519 .\"O (this needs to be done by somebody who knows it)
520 .SS ¥¢¥¯¥Æ¥£¥Ö¤Ê AX.25 ¥½¥±¥Ã¥È
521 (Ã챤ò»ý¤Ã¤Æ¤¤¤ë¿Í¤¬µ­½Ò¤·¤Æ¤Û¤·¤¤)
522 .PP
523 .\"O .SH NOTES
524 .SH Ãí°Õ
525 .\"O Starting with Linux release 2.2 
526 .\"O .B netstat -i 
527 .\"O does not show interface statistics for alias interfaces. To get per
528 .\"O alias interface counters you need to setup explicit rules using the
529 .\"O .BR ipchains(8) 
530 .\"O command.  
531 ¥«¡¼¥Í¥ë¥ê¥ê¡¼¥¹ 2.2 ¤«¤é¡¢
532 .B netstat -i
533 ¤Ç¤ÏÊÌ̾¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î
534 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹Åý·×¤òɽ¼¨¤·¤Ê¤¯¤Ê¤Ã¤¿¡£
535 ÊÌ̾¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹Ëè¤ÎÅý·×¤òÆÀ¤ë¤¿¤á¤Ë¤Ï¡¢
536 .BR ipchains(8)
537 ¥³¥Þ¥ó¥É¤òÍѤ¤¤ÆÌÀ¼¨Åª¤Ë¥ë¡¼¥ë¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ë¡£
538
539 .\"O .SH FILES
540 .SH ¥Õ¥¡¥¤¥ë
541 .ta
542 .I /etc/services
543 .\"O -- The services translation file
544 -- ¥µ¡¼¥Ó¥¹Ì¾¤ÈÈÖ¹æ¤ÎÊÑ´¹É½¤¬Æþ¤Ã¤¿¥Õ¥¡¥¤¥ë
545
546 .I /proc
547 .\"O -- Mount point for the proc filesystem, which gives access to kernel 
548 .\"O status information via the following files.
549 -- proc ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¡£
550 ¤³¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤è¤ê¡¢
551 °Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤Æ¥«¡¼¥Í¥ë¤ÎÅý·×¾ðÊó¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¡£
552
553 .I /proc/net/dev
554 .\"O -- device information
555 -- ¥Ç¥Ð¥¤¥¹¤Î¾ðÊó
556
557 .I /proc/net/raw
558 .\"O -- raw socket information
559 raw ¥½¥±¥Ã¥È¤Î¾ðÊó
560
561 .I /proc/net/tcp
562 .\"O -- TCP socket information
563 -- TCP ¥½¥±¥Ã¥È¤Î¾ðÊó
564
565 .I /proc/net/udp
566 .\"O -- UDP socket information
567 -- UDP ¥½¥±¥Ã¥È¤Î¾ðÊó
568
569 .I /proc/net/igmp
570 .\"O -- IGMP multicast information
571 -- IGMP ¥Þ¥ë¥Á¥­¥ã¥¹¥È¤Î¾ðÊó
572
573 .I /proc/net/unix
574 .\"O -- Unix domain socket information
575 -- Unix ¥É¥á¥¤¥ó¥½¥±¥Ã¥È¤Î¾ðÊó
576
577 .I /proc/net/ipx
578 .\"O -- IPX socket information
579 -- IPX ¥½¥±¥Ã¥È¤Î¾ðÊó
580
581 .I /proc/net/ax25
582 .\"O -- AX25 socket information
583 -- AX25 ¥½¥±¥Ã¥È¤Î¾ðÊó
584
585 .I /proc/net/appletalk
586 .\"O -- DDP (appletalk) socket information
587 -- DDP (appletalk) ¥½¥±¥Ã¥È¤Î¾ðÊó
588
589 .I /proc/net/nr
590 .\"O -- NET/ROM socket information
591 -- NET/ROM ¥½¥±¥Ã¥È¤Î¾ðÊó
592
593 .I /proc/net/route
594 .\"O -- IP routing information
595 -- IP ·ÐÏ©¾ðÊó
596
597 .I /proc/net/ax25_route
598 .\"O -- AX25 routing information
599 -- AX25 ·ÐÏ©¾ðÊó
600
601 .I /proc/net/ipx_route
602 .\"O -- IPX routing information
603 -- IPX ·ÐÏ©¾ðÊó
604
605 .I /proc/net/nr_nodes
606 .\"O -- NET/ROM nodelist
607 -- NET/ROM ¥Î¡¼¥É¥ê¥¹¥È
608
609 .I /proc/net/nr_neigh
610 .\"O -- NET/ROM neighbours
611 -- NET/ROM ¥Í¥¤¥Ð¡¼ (neighbour)
612
613 .I /proc/net/ip_masquerade
614 .\"O -- masqueraded connections
615 -- ¥Þ¥¹¥«¥ì¡¼¥ÉÀܳ
616
617 .I /proc/net/snmp
618 .\"O -- statistics
619 -- Åý·×¾ðÊó
620 .fi
621 .P
622 .\"O .SH SEE ALSO
623 .SH ´ØÏ¢¹àÌÜ
624 .BR route (8), 
625 .BR ifconfig (8), 
626 .BR ipchains (8),
627 .BR iptables (8),
628 .BR proc (5)
629 .P
630 .\"O .SH BUGS
631 .SH ¥Ð¥°
632 .\"O Occasionally strange information may appear if a socket changes
633 .\"O as it is viewed. This is unlikely to occur.
634 ¥½¥±¥Ã¥È¤¬É½¼¨Ãæ¤ËÊѹ¹¤µ¤ì¤ë¤È¡¢¤¿¤Þ¤Ë̯¤Ê¾ðÊó¤¬É½¼¨¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
635 ¤¢¤Þ¤êµ¯¤³¤é¤Ê¤¤¤È¤Ï»×¤¦¤¬¡£
636 .P
637 .\"O .SH AUTHORS
638 .SH Ãø¼Ô
639 .\"O The netstat user interface was written by Fred Baumgarten
640 .\"O <dc6iq@insu1.etec.uni-karlsruhe.de> the man page basically
641 .\"O by Matt Welsh <mdw@tc.cornell.edu>. It was updated by
642 .\"O Alan Cox <Alan.Cox@linux.org> but could do with a bit more
643 .\"O work.  It was updated again by Tuan Hoang
644 .\"O <tqhoang@bigfoot.com>.
645 netstat ¤Î¥æ¡¼¥¶¡¼¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ï
646 Fred Baumgarten <dc6iq@insu1.etec.uni-karlsruhe.de> ¤¬½ñ¤¤¤¿¡£
647 ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï¼ç¤Ë Matt Welsh <mdw@tc.cornell.edu> ¤¬½ñ¤­
648 Alan Cox <Alan.Cox@linux.org> ¤¬¹¹¿·¤·¤¿¡£
649 ¤·¤«¤·¡¢ºî¶È¤Ï¤¢¤Þ¤ê¿¤¯¤Ê¤«¤Ã¤¿¡£
650 ¤½¤·¤Æ¤µ¤é¤Ë Tuan Hoang <tqhoang@bigfoot.com> ¤¬¹¹¿·¤·¤¿¡£
651 .br
652 .\"O The man page and the command included in the net-tools
653 .\"O package is totally rewritten by Bernd Eckenfels 
654 .\"O <ecki@linux.de>.
655 net-tools ¥Ñ¥Ã¥±¡¼¥¸¤ËÆþ¤Ã¤Æ¤¤¤ë¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤È¥³¥Þ¥ó¥É¤Ï¡¢
656 Bernd Eckenfels <ecki@linux.de> ¤¬Á´ÂÎŪ¤Ë½ñ¤­Ä¾¤·¤¿¡£