Reviewed by: The Japanese Manual Project <man-jp@jp.FreeBSD.ORG> Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
140 lines
4.3 KiB
Groff
140 lines
4.3 KiB
Groff
.\" Copyright (c) 1983, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)trpt.8 8.2 (Berkeley) 12/11/93
|
|
.\" jpman %Id: trpt.8,v 1.2 1997/05/25 15:20:26 horikawa Stab %
|
|
.\"
|
|
.Dd December 11, 1993
|
|
.Dt TRPT 8
|
|
.Os BSD 4.2
|
|
.Sh ̾¾Î
|
|
.Nm trpt
|
|
.Nd ¥×¥í¥È¥³¥ë¥È¥ì¡¼¥¹¤Îɽ¼¨
|
|
.Sh ½ñ¼°
|
|
.Nm trpt
|
|
.Op Fl a
|
|
.Op Fl f
|
|
.Op Fl j
|
|
.Op Fl p Ar hex-address
|
|
.Op Fl s
|
|
.Op Fl t
|
|
.Oo
|
|
.Ar system Op Ar core
|
|
.Oc
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¤Ï¡¢socket ¤Ë
|
|
.Dq ¥Ç¥Ð¥Ã¥°¾ðÊó¤ÎµÏ¿
|
|
¤ò»Ø¼¨¤·¤¿»þ (
|
|
.Xr setsockopt 2
|
|
¤ò»²¾È) ¤ËÀ¸À®¤µ¤ì¤ë¡¢
|
|
.Tn TCP
|
|
¤Î¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤ÎÆâÍÆ¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
|
|
.Nm
|
|
¤Ï¡¢¥·¥¹¥Æ¥àÃæ¤Î¤¹¤Ù¤Æ¤Î¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤ò¡¢
|
|
.Tn TCP
|
|
¥³¥Í¥¯¥·¥ç¥ó¤Î
|
|
.Pq Tn PCB
|
|
(protocol control block)
|
|
¤Ë¤è¤Ã¤Æ¥°¥ë¡¼¥×²½¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡£
|
|
°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¤³¤Îưºî¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Bl -tag -width indent
|
|
.It Fl a
|
|
Ä̾ï¤Î½ÐÎϤ˲䨤ơ¢
|
|
µÏ¿¤µ¤ì¤¿³Æ¥Ñ¥±¥Ã¥È¤ÎÁ÷¿®¸µ¤È°¸Àè¤Î¥¢¥É¥ì¥¹¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl f
|
|
¥È¥ì¡¼¥¹¤¬µÏ¿¤µ¤ì¤ëËè¤Ë¤½¤ì¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¥í¥°¤Î½ª¤ê¤Þ¤Çɽ¼¨¤¹¤ë¤È¡¢¤·¤Ð¤é¤¯¼¡¤Î¥ì¥³¡¼¥É¤òÂÔ¤Á¤Þ¤¹¡£
|
|
.It Fl j
|
|
¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤Î¸ºß¤¹¤ë PCB (protocol control block) ¤Î¥¢¥É¥ì¥¹¤Î°ìÍ÷¤ò
|
|
ɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl p
|
|
16 ¿Ê¿ô¤Ç»ØÄꤵ¤ì¤¿¥¢¥É¥ì¥¹(
|
|
.Ar hex-address
|
|
)¤Ë¤¢¤ë PCB ¤Ë¤Ä¤¤¤Æ¤Î¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤Î¤ß¤ò
|
|
ɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl s
|
|
Ä̾ï¤Î½ÐÎϤ˲䨤ơ¢¥Ñ¥±¥Ã¥È¤Î¥·¡¼¥±¥ó¥¹¾ðÊó¤Î¾ÜºÙ¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl t
|
|
Ä̾ï¤Î½ÐÎϤ˲䨤ơ¢¥È¥ì¡¼¥¹¤Î³Æ»þÅÀ¤Ç¤Î¤¹¤Ù¤Æ¤Î¥¿¥¤¥Þ¤ÎÃͤòɽ¼¨¤·¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Nm
|
|
¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ»È¤Ã¤Æ¤ß¤Æ²¼¤µ¤¤¡£
|
|
ÌäÂê¤È¤Ê¤Ã¤Æ¤¤¤ë¥³¥Í¥¯¥·¥ç¥ó¤òÀÚ¤êʬ¤±¤Æ¡¢¤½¤ì¤Ë´Ø¤ï¤ë socket ¤ËÂФ·¤Æ
|
|
¥Ç¥Ð¥Ã¥°µ¡Ç½¤ò͸ú¤Ë¤·¤Þ¤¹¡£
|
|
.Xr netstat 1
|
|
¥³¥Þ¥ó¥É¤Î
|
|
.Fl A
|
|
¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¤½¤Î socket ¤Î PCB ¤Î¥¢¥É¥ì¥¹¤ò¸«¤Ä¤±¤Þ¤¹¡£
|
|
¤½¤·¤Æ¡¢
|
|
.Fl p
|
|
¥ª¥×¥·¥ç¥ó¤È PCB ¥¢¥É¥ì¥¹¤ò°ú¿ô¤Ë¤·¤Æ
|
|
.Nm
|
|
¤ò¼Â¹Ô¤·¤Þ¤¹¡£
|
|
.Fl f
|
|
¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢°ìÅÙ¸«¤Ä¤±¤¿¥È¥ì¡¼¥¹¥í¥°¤òÄɤ¤Â³¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¤¤¤ë socket ¤¬¤¿¤¯¤µ¤ó¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢
|
|
ÌäÂê¤Ë¤Ê¤Ã¤Æ¤¤¤ë socket ¤Ë¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤¬¤¢¤ë¤«¤É¤¦¤«¤ò
|
|
.Fl j
|
|
¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ³Î¤«¤á¤ë»ö¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Pp
|
|
¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥«¡¼¥Í¥ë¤ä¥á¥â¥ê¥¤¥á¡¼¥¸¤ò¥Ç¥Ð¥Ã¥°¤·¤¿¤¤¤È¤¤Ë¤Ï¡¢
|
|
ºÇ¸å¤Î 2 ¤Ä¤Î°ú¿ô¤Ç»ØÄꤹ¤ë»ö¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /dev/kmem -compact
|
|
.It Pa /kernel
|
|
.It Pa /dev/kmem
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr netstat 1 ,
|
|
.Xr setsockopt 2
|
|
.\" .Xr setsockopt 2 ,
|
|
.\" .Xr trsp 8
|
|
.Sh ¿ÇÃÇ
|
|
.Bl -tag -width Ds
|
|
.It Sy no namelist
|
|
¥È¥ì¡¼¥¹¥Ð¥Ã¥Õ¥¡¤ò¸«¤Ä¤±¤ë¤Î¤ËɬÍפʥ·¥ó¥Ü¥ë¤¬¥·¥¹¥Æ¥à¥¤¥á¡¼¥¸¤Ë
|
|
¸«¤Ä¤«¤ê¤Þ¤»¤ó¡£
|
|
¤½¤Î¾¤Î¥á¥Ã¥»¡¼¥¸¤ÏÆÉ¤á¤Ðʬ¤«¤ë¤Ç¤·¤ç¤¦¡£
|
|
.El
|
|
.Sh ¥Ð¥°
|
|
Æþ½ÐÎϤµ¤ì¤¿¥Ç¡¼¥¿¤âɽ¼¨¤¹¤ë¤Ù¤¤Ç¤¹¤¬¡¢¥È¥ì¡¼¥¹¥ì¥³¡¼¥É¤Ë¤Ï
|
|
µÏ¿¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
|
|
.Pp
|
|
½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤ÏÈó¾ï¤ËÆñ²ò¤Ê¤Î¤Ç¡¢¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤ËÀâÌÀ¤µ¤ì¤Æ
|
|
¤¤¤ë¤Ù¤¤Ç¤¹¡£
|
|
.Sh ÍúÎò
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï¡¢
|
|
.Bx 4.2
|
|
¤ÇÅо줷¤Þ¤·¤¿¡£
|