730eb3d2f8
Submitted by: Sarumaru Yoshihiko <mistral at imasy or jp>
238 lines
8.3 KiB
Groff
238 lines
8.3 KiB
Groff
.\" Copyright (c) 1987, 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.
|
||
.\"
|
||
.\" @(#)fstat.1 8.3 (Berkeley) 2/25/94
|
||
.\" %FreeBSD: src/usr.bin/fstat/fstat.1,v 1.23.2.1 2005/03/17 13:26:06 phk Exp %
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd March 27, 2002
|
||
.Dt FSTAT 1
|
||
.Os
|
||
.Sh ̾¾Î
|
||
.Nm fstat
|
||
.Nd ¥¢¥¯¥Æ¥£¥Ö¥Õ¥¡¥¤¥ë¤ò¼±Ê̤¹¤ë
|
||
.Sh ½ñ¼°
|
||
.Nm
|
||
.Op Fl fmnv
|
||
.Op Fl M Ar core
|
||
.Op Fl N Ar system
|
||
.Op Fl p Ar pid
|
||
.Op Fl u Ar user
|
||
.Op Ar
|
||
.Sh ²òÀâ
|
||
.Nm
|
||
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¸½ºß¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤È¤Ï¡¢¥×¥í¥»¥¹¤Ë¤è¤Ã¤ÆÌÀ¼¨Åª¤Ë¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë
|
||
¤â¤Î¡¢¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¡¢¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¡¢jail ¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¡¢
|
||
¥¢¥¯¥Æ¥£¥Ö¤Ê¼Â¹Ô²Äǽ¥Æ¥¥¹¥È¤ä¡¢¥«¡¼¥Í¥ë¤Î¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë¤Ê¤É¤ò»Ø¤·¤Þ¤¹¡£
|
||
°ú¿ô¤¬²¿¤âÍ¿¤¨¤é¤ì¤Ê¤±¤ì¤Ð¡¢
|
||
.Nm
|
||
¤Ï¥·¥¹¥Æ¥àÃæ¤Ç¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.Pp
|
||
°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬ÍøÍѲÄǽ¤Ç¤¹:
|
||
.Bl -tag -width indent
|
||
.It Fl f
|
||
ɽ¼¨¤¹¤ë¾ðÊó¤ò¡¢
|
||
.Ar filename
|
||
¤Ç»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à
|
||
¤Î¤â¤Î¤ËÀ©¸Â¤·¤Þ¤¹¡£°ú¿ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê
|
||
¤ò´Þ¤à¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¤â¤Î¤ËÀ©¸Â¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢
|
||
.Pa /usr/src
|
||
°Ê²¼¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤ò¸«¤Ä¤±¤ë¤Ë¤Ï¡¢
|
||
.Dq Li fstat -f /usr/src
|
||
¤È¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
.\" FreeBSD 2.1.0R ±Ñ¸ìÈǥޥ˥奢¥ë¤Ç¤Ï¡¢°Ê²¼¤Ç°ú¿ô core ¤òÌÀµ¤·¤Æ¤¤¤Ê¤¤
|
||
.\" ¤¬¡¢ÌÀ¤é¤«¤Ë¤³¤ì¤Ç¤âÂÅÅö¤À¤È¹Í¤¨¤é¤ì¤ë¡£
|
||
.\" ¤³¤ì°Ê¹ß¤Ç¤âƱÍͤÎÉôʬ¤¬¤¤¤¯¤Ä¤«Â¸ºß¤¹¤ë¡£ -- jpman Sakai
|
||
.\"(ÌõÃæ)ƱÍͤΤ³¤È³Îǧ¤·¤Þ¤·¤¿¡£¤½¤Î¤Þ¤Þ¤Ë¤·¤Æ¤¢¤ê¤Þ¤¹¡£
|
||
.\" 2.2.1R ÂоÝ(1997/05/17) Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
|
||
.It Fl M Ar core
|
||
̾Á°¤Ë´Ø¤¹¤ë¥ê¥¹¥È¤«¤éÃͤò¼è¤ê½Ð¤¹ºÝ¡¢¥Ç¥Õ¥©¥ë¥È¤Î
|
||
.Pa /dev/kmem
|
||
¤Î¤«¤ï¤ê¤Ë
|
||
.Ar core
|
||
¤ò»È¤¤¤Þ¤¹¡£
|
||
.It Fl N
|
||
»ØÄꤵ¤ì¤¿ system ¤«¤é̾Á°¥ê¥¹¥È¤ò¼è¤ê½Ð¤·¤Þ¤¹¡£
|
||
¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥·¥¹¥Æ¥à¤¬µ¯Æ°¤·¤Æ¤¤¿¥«¡¼¥Í¥ë¥¤¥á¡¼¥¸¤«¤é¼è¤ê½Ð¤·¤Þ¤¹¡£
|
||
.It Fl m
|
||
¥á¥â¥ê¥Þ¥Ã¥×¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò¥ê¥¹¥È¤Ë´Þ¤á¤Þ¤¹¡£
|
||
¹¹¤Ê¤ë½èÍý¤¬É¬ÍפǤ¢¤ë¤¿¤á¡¢Ä̾ï¤Ï¤³¤ì¤é¤Ï½ü³°¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
|
||
.It Fl n
|
||
¿ôÃÍ¥Õ¥©¡¼¥Þ¥Ã¥È¤Çɽ¼¨¤ò¹Ô¤¤¤Þ¤¹¡£¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î̾Á°¤òɽ¼¨¤¹¤ë
|
||
¤«¤ï¤ê¤Ë¡¢¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤ª¤±¤ë¥Ç¥Ð¥¤¥¹ÈÖ¹æ (¥á¥¸¥ã¡¼¡¢¥Þ¥¤¥Ê)
|
||
¤òɽ¼¨¤·¤Þ¤¹¡£Æüì¥Õ¥¡¥¤¥ë¤Ë´Ø¤·¤Æ¤Ï¡¢
|
||
.Pa /dev
|
||
¤Î²¼¤Î¥Õ¥¡¥¤¥ë̾
|
||
¤Ï»²¾È¤µ¤ì¤º¡¢Æüì¥Ç¥Ð¥¤¥¹¤Î¥Ç¥Ð¥¤¥¹Èֹ椬ɽ¼¨¤µ¤ì¤Þ¤¹¡£¤Þ¤¿¡¢
|
||
¥Õ¥¡¥¤¥ë¤Î°À¤âµ¹æ¤Ç¤Ï¤Ê¤¯¡¢8 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£
|
||
.It Fl p Ar pid
|
||
»ØÄꤵ¤ì¤¿¥×¥í¥»¥¹ ID ¤Î¥×¥í¥»¥¹¤Ë¤è¤Ã¤Æ¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë
|
||
¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.It Fl u Ar user
|
||
»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤Ë¤è¤Ã¤Æ¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë
|
||
¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.It Fl v
|
||
¾ÜºÙÊó¹ð¥â¡¼¥É¡£¥·¥¹¥Æ¥à¤Î¥Ç¡¼¥¿¹½Â¤ÂΤò¸«¤Ä¤±¤ë¤Î¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ê¤É¤Ë
|
||
¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵»ë¤·¤Þ¤¹)¡£¤³¤ì¤é¤Î
|
||
¹½Â¤ÂΤο¤¯¤Ï¡¢Æ°Åª¤ËÀ¸À®¤µ¤ì¤¿¤ê¾Ãµî¤µ¤ì¤¿¤ê¤¹¤ë¤â¤Î¤Ç¡¢
|
||
.Nm
|
||
¤ò¼Â¹ÔÃæ¤Ë
|
||
¾Ã¤¨¤Æ¤·¤Þ¤¦²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢
|
||
.Nm
|
||
¼Â¹ÔÃæ¤Ë¤â¡¢¥·¥¹¥Æ¥à
|
||
¤Î»Ä¤ê¤ÎÉôʬ¤¬Æ°¤¤¤Æ¤¤¤ë¤¿¤á¤Ç¡¢¤´¤¯ÉáÄ̤Τ³¤È¤Ç¤¹¤·¡¢Èò¤±¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£
|
||
.It Ar
|
||
ɽ¼¨¤¹¤ë¾ðÊó¤ò¡¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë
|
||
.Ar filename
|
||
¤Ë¸ÂÄꤷ¤Þ¤¹¡£
|
||
.El
|
||
.Pp
|
||
°Ê²¼¤Î¤è¤¦¤Ê¹àÌܤ¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
||
.Bl -tag -width MOUNT
|
||
.It Li USER
|
||
¥×¥í¥»¥¹¤Î½êͼԤΥ桼¥¶Ì¾ (¼Â¸ú¥æ¡¼¥¶ ID ¤Î¤â¤Î¤¬É½¼¨¤µ¤ì¤Þ¤¹)
|
||
.It Li CMD
|
||
¥×¥í¥»¥¹¤Î¥³¥Þ¥ó¥É̾
|
||
.It Li PID
|
||
¥×¥í¥»¥¹ID
|
||
.It Li FD
|
||
¥×¥í¥»¥¹¤´¤È¤Î¥ª¡¼¥×¥ó¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ëÈֹ桢¤â¤·¤¯¤Ï
|
||
°Ê²¼¤ÎÆÃÊ̤Ê̾Á°¤Î¤É¤ì¤«¤Ç¤¹¡£
|
||
.Pp
|
||
.Bd -literal -offset indent -compact
|
||
jail - jail ¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê
|
||
mmap - ¥á¥â¥ê¥Þ¥Ã¥×¤µ¤ì¤¿¥Õ¥¡¥¤¥ë
|
||
root - ¥ë¡¼¥È¤Î inode
|
||
text - ¼Â¹Ô²Äǽ¥Æ¥¥¹¥È¤Î inode
|
||
tr - ¥«¡¼¥Í¥ë¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë
|
||
wd - ¸½ºß¤Î¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê
|
||
.Ed
|
||
.Pp
|
||
¥Õ¥¡¥¤¥ëÈÖ¹æ¤Î¤¢¤È¤Ë¥¢¥¹¥¿¥ê¥¹¥¯µ¹æ ``*'' ¤¬¤¢¤ë¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤Ï inode
|
||
¤Ç¤Ï¤Ê¤¯¡¢¥½¥±¥Ã¥È¤ä
|
||
.Tn FIFO
|
||
¤Ç¤¢¤Ã¤¿¤ê¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ë¥¨¥é¡¼¤¬¤¢¤ë¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤Î
|
||
¾ì¹ç¡¢»Ä¤ê¤Î¹Ô¤Ï¸å¤í¤Î¥Ø¥Ã¥À¤È°ìÃפ·¤Þ¤»¤ó¡£ -- ¹Ô¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢
|
||
.Sx ¥½¥±¥Ã¥È
|
||
¤Î¤È¤³¤í¤ÇÀâÌÀ¤·¤Þ¤¹¡£
|
||
.It Li MOUNT
|
||
.Fl n
|
||
¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤Î¥Ø¥Ã¥À¤¬¸½¤ì¤Þ¤¹¡£
|
||
¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹Ì¾¤Ï¡¢¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¹¡£
|
||
.It Li DEV
|
||
.Fl n
|
||
¤¬»ØÄꤵ¤ì¤ë¤È¡¢¤³¤Î¥Ø¥Ã¥À¤¬¸½¤ì¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Æ¤¤¤ë¥Ç¥Ð¥¤¥¹
|
||
¤Î¥á¥¸¥ã¡¼ÈÖ¹æ¤È¥Þ¥¤¥ÊÈÖ¹æ¤Ç¤¹¡£
|
||
.It Li INUM
|
||
¥Õ¥¡¥¤¥ë¤Î inode Èֹ档
|
||
.It Li MODE
|
||
¥Õ¥¡¥¤¥ë¤Î¥â¡¼¥É¡£
|
||
.Fl n
|
||
¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥â¡¼¥É¤Ïµ¹æ¥Õ¥©¡¼¥Þ¥Ã¥È
|
||
.Xr ( strmode 3
|
||
¤ò»²¾È)
|
||
¤ò»ÈÍѤ·¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£
|
||
¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥â¡¼¥É¤Ï 8 ¿Ê¿ô¤È¤·¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£
|
||
.It Li SZ\&|DV
|
||
¥Õ¥¡¥¤¥ë¤¬¥¥ã¥é¥¯¥¿¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤ä¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤Ç¤Ê¤±
|
||
¤ì¤Ð¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥È¿ô¤òɽ¼¨¤·¤Þ¤¹¡£¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤Ç¤¢¤Ã¤Æ
|
||
.Fl n
|
||
¤¬
|
||
»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤½¤ÎÆüì¥Õ¥¡¥¤¥ë¤Î
|
||
.Pa /dev
|
||
¤Ë¤ª¤±¤ë̾Á°¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.Pa /dev
|
||
¤Ë¤Ê¤«¤Ã¤¿¤ê¡¢
|
||
.Fl n
|
||
¤¬»ØÄꤵ¤ì¤Æ¤¤¤¿¤ê¤¹¤ë
|
||
¤È¡¢¥¹¥Ú¥·¥ã¥ë¥Ç¥Ð¥¤¥¹¤¬»²¾È¤¹¤ë¥á¥¸¥ã¡¼Èֹ桢¥Þ¥¤¥ÊÈÖ¹æ¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.It Li R/W
|
||
¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹Â°À¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
||
``r'' ¤Î¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤ß¤Î¤¿¤á¤Ë¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
|
||
``w'' ¤Î¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤¬½ñ¤¹þ¤ß¤Î¤¿¤á¤Ë¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
|
||
¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÆɤ߹þ¤ßÀìÍѾõÂ֤˰ܹԤ¹¤ëºÝ¤Ë¡¢
|
||
¤½¤ì¤ò˸¤²¤Æ¤¤¤ë¥×¥í¥»¥¹¤ò¸«¤Ä¤±¤ë¾ì¹ç¤ËÌò¤ËΩ¤Á¤Þ¤¹¡£
|
||
.It Li NAME
|
||
.Ar filename
|
||
¤¬»ØÄꤵ¤ì¤Æ¤¤¤Æ¡¢
|
||
.Fl f
|
||
¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤Î
|
||
¥Õ¥£¡¼¥ë¥É¤¬É½¼¨¤µ¤ì¡¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤¹¤ë̾Á°¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
||
ÉáÄÌ¡¢¤³¤Î̾Á°¤Ï·è¤Þ¤Ã¤¿¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤È¤¤¤¦¤Î¤â¡¢¥ª¡¼¥×¥ó¤µ¤ì¤¿
|
||
¥Õ¥¡¥¤¥ë¤«¤é¡¢¥Ç¥£¥ì¥¯¥È¥êÃæ¤Î¥¨¥ó¥È¥ê¤Ø¤ÎµÕ¤Î¥Þ¥Ã¥Ô¥ó¥°¤Ï¸ºß¤·¤Ê¤¤
|
||
¤«¤é¤Ç¤¹¡£¤Þ¤¿¡¢°Û¤Ê¤ë¥Ç¥£¥ì¥¯¥È¥ê¥¨¥ó¥È¥ê¤¬Æ±¤¸¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¤
|
||
¤ë¤³¤È¤â¤¢¤ë (
|
||
.Xr ln 1
|
||
¤ò»²¾È) ¤¿¤á¡¢É½¼¨¤µ¤ì¤Æ¤¤¤ë̾Á°
|
||
¤Ï¡¢¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤·¤¿¸µ¤Î¥Õ¥¡¥¤¥ë¤Î¼ÂºÝ¤Î̾Á°¤È
|
||
°Û¤Ê¤Ã¤Æ¤¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
.El
|
||
.Sh ¥½¥±¥Ã¥È
|
||
¥ª¡¼¥×¥ó¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢¥×¥í¥È¥³¥ë¤Î¥É¥á¥¤¥ó¤Ë°Í¸¤·¤Þ¤¹¡£
|
||
ºÇ½é¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥É¥á¥¤¥ó̾¤Ç¡¢2 ÈÖÌܤΥե£¡¼¥ë¥É¤Ï
|
||
¥½¥±¥Ã¥È¤Î·¿ (stream ¤ä dgram¤Ê¤É)¡¢3 ÈÖÌܤϥ½¥±¥Ã¥È¥Õ¥é¥°¤Î¥Õ¥£¡¼¥ë¥É
|
||
(16 ¿Ê¿ô) ¤Ç¤¹¡£»Ä¤ê¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥×¥í¥È¥³¥ë¤Ë°Í¸¤·¤Þ¤¹¡£tcp ¤Î¾ì¹ç¤Ï¡¢
|
||
tcpcb ¤Î¥¢¥É¥ì¥¹¤Ç¤¹¤·¡¢udp ¤Î¾ì¹ç¤Ï inpcb (¥½¥±¥Ã¥È pcb) ¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£
|
||
UNIX ¥É¥á¥¤¥ó¥½¥±¥Ã¥È¤Î¾ì¹ç¤Ï¥½¥±¥Ã¥È pcb ¤Î¥¢¥É¥ì¥¹¤È (¤â¤·Àܳ¤¹¤ì¤Ð)
|
||
ÀܳÀè pcb ¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¥×¥í¥È¥³¥ëÈÖ¹æ¤È¥½¥±¥Ã¥È¼«¿È
|
||
¤Î¥¢¥É¥ì¥¹¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
||
.Xr netstat 1
|
||
¤È½ÅÊ£¤·¤Ê¤¤ÈϰϤǡ¢¾Ü¤·¤¯Ê¬ÀϤ¹¤ë¤Î¤Ë½½Ê¬¤Ê¾ðÊó¤òɽ¼¨¤·¤è¤¦¤È¤·¤Þ¤¹¡£
|
||
.Pp
|
||
¤¿¤È¤¨¤Ð¡¢¾å¤Ç½Ò¤Ù¤¿¥¢¥É¥ì¥¹¤Ï
|
||
.Dq Li netstat -A
|
||
¥³¥Þ¥ó¥É¤Çɽ¼¨¤µ¤ì¤ë tcp, udp,
|
||
UNIX ¥É¥á¥¤¥ó¤Î¤½¤ì¤¾¤ì¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£¤¿¤À¤·¡¢¥Ñ¥¤¥×¤Ï¥½¥±¥Ã¥È¤òÍѤ¤¤Æ
|
||
¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥Ñ¥¤¥×¤ÏÀܳÀè¤Î UNIX ¥É¥á¥¤¥ó¥¹¥È¥ê¡¼¥à¥½¥±¥Ã¥È¤È¤·¤Æ
|
||
¸½¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£Ã±Êý¸þ UNIX ¥É¥á¥¤¥ó¥½¥±¥Ã¥È¤Ï¡¢¸þ¤
|
||
¤ò»ý¤Ã¤¿Ìð°õ (``<-'' ¤« ``->'') ¤È¤·¤Æɽ¼¨¤µ¤ì¡¢ÁÐÊý¸þ (Á´Æó½Å) UNIX ¥É¥á¥¤¥ó
|
||
¤ÏÆó½ÅÌð°õ (``<->'') ¤È¤·¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£
|
||
.Sh ¥Ð¥°
|
||
.Nm
|
||
¤Ï¥·¥¹¥Æ¥à¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤ò¤È¤ë¤Î¤Ç¡¢É½¼¨¤µ¤ì¤ë¾ðÊó¤Ï
|
||
¤Û¤ó¤Î¤ï¤º¤«¤Ê´Ö¤·¤«Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£
|
||
.Sh ´ØÏ¢¹àÌÜ
|
||
.Xr netstat 1 ,
|
||
.Xr nfsstat 1 ,
|
||
.Xr ps 1 ,
|
||
.Xr sockstat 1 ,
|
||
.Xr systat 1 ,
|
||
.Xr tcp 4 ,
|
||
.Xr unix 4 ,
|
||
.Xr iostat 8 ,
|
||
.Xr pstat 8 ,
|
||
.Xr vmstat 8
|
||
.Sh Îò»Ë
|
||
.Nm
|
||
¥³¥Þ¥ó¥É¤Ï
|
||
.Bx 4.3 tahoe
|
||
¤«¤éÅо줷¤Þ¤·¤¿¡£
|