332b359851
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp> Reviewed by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>, kano@na.rim.or.jp
110 lines
3.5 KiB
Groff
110 lines
3.5 KiB
Groff
.\" Copyright (c) 1990, 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.
|
|
.\"
|
|
.\" @(#)kdump.1 8.1 (Berkeley) 6/6/93
|
|
.\" %FreeBSD: src/usr.bin/kdump/kdump.1,v 1.11 2004/05/18 20:42:36 ru Exp %
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd December 8, 2003
|
|
.Dt KDUMP 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm kdump
|
|
.Nd ¥«¡¼¥Í¥ë¤Î¥È¥ì¡¼¥¹¥Ç¡¼¥¿¤òɽ¼¨¤¹¤ë
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Op Fl dEnlRT
|
|
.Op Fl f Ar trfile
|
|
.Op Fl m Ar maxdata
|
|
.Op Fl p Ar pid
|
|
.Op Fl t Op cnisuw
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¤Ï¡¢
|
|
.Xr ktrace 1
|
|
¤¬ºîÀ®¤·¤¿¥«¡¼¥Í¥ë¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë¤ò²ÄÆÉ·Á¼°¤Çɽ¼¨¤·¤Þ¤¹¡£
|
|
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
|
|
.Pa ktrace.out
|
|
¥Õ¥¡¥¤¥ë¤òÊÑ´¹¤·¤Æɽ¼¨¤·¤Þ¤¹¡£
|
|
.Pp
|
|
¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤Ï¡¢°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹:
|
|
.Bl -tag -width Fl
|
|
.It Fl d
|
|
¤¹¤Ù¤Æ¤Î¿ôÃͤò 10 ¿Ê¿ô¤Çɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl E
|
|
·Ð²á¤·¤¿»þ´Ö¤òɽ¼¨¤·¤Þ¤¹ (¥È¥ì¡¼¥¹³«»Ï¤«¤é¤Î»þ´Ö)¡£
|
|
.It Fl f Ar trfile
|
|
.Pa ktrace.out
|
|
¤Î¤«¤ï¤ê¤Ë¡¢»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤òÊÑ´¹¤·¤Æɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl l
|
|
¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë¤ò²¿ÅÙ¤âÆɤߤޤ¹¡£
|
|
¤¤¤Ã¤¿¤ó EOF ¤Ë㤹¤ë¤È¡¢¿·¤¿¤Ê¥Ç¡¼¥¿¤¬½ñ¤«¤ì¤ë¤Þ¤ÇÂÔ¤Á¤Þ¤¹¡£
|
|
.It Fl m Ar maxdata
|
|
.Tn I/O
|
|
¤ò¥Ç¥³¡¼¥É¤¹¤ëºÝ¤ËºÇ¹â
|
|
.Ar maxdata
|
|
¥Ð¥¤¥È¤Þ¤Çɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl n
|
|
³ÆÆ°ºîÀìÍѤËÍÑ°Õ¤µ¤ì¤Æ¤¤¤ëÊÑ´¹¤ò¹Ô¤ï¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
Ä̾ï
|
|
.Nm
|
|
¤Ï¿¤¯¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò¡¢¤è¤êÆɤߤ䤹¤¤·Á¤Ë¥Ç¥³¡¼¥É¤·¤Þ¤¹¡£
|
|
¤¿¤È¤¨¤Ð¡¢
|
|
.Xr ioctl 2
|
|
¤ÎÃͤϥޥ¯¥í̾¤ËÃÖ¤´¹¤¨¤é¤ì¤¿¤ê¡¢
|
|
.Va errno
|
|
¤ÎÃͤÏ
|
|
.Xr strerror 3
|
|
¤òÍøÍѤ·¤Æʸ»úÎó¤ËÃÖ¤´¹¤¨¤é¤ì¤¿¤ê¤·¤Þ¤¹¡£
|
|
¤³¤ÎÆ°ºî¤ò¤ä¤á¤Æ°ì´Ó¤·¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç½ÐÎϤ¹¤ë¤³¤È¤Ç¡¢
|
|
¤³¤Î½ÐÎϤò¤µ¤é¤Ë½èÍý¤·¤ÆʬÀϤò¹Ô¤¦¤³¤È¤¬Íưפˤʤê¤Þ¤¹¡£
|
|
.It Fl p Ar pid
|
|
¥×¥í¥»¥¹
|
|
.Ar pid
|
|
¤ËÂбþ¤¹¤ë¥È¥ì¡¼¥¹¥¤¥Ù¥ó¥È¤Î¤ß¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
Ʊ°ì¤Î¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë¤ÎÊ£¿ô¥×¥í¥»¥¹¤ÎµÏ¿¤¬¤¢¤ë¤È¤¤Ë¡¢ÍÍѤ«¤â¤·¤ì¤Þ¤»¤ó¡£
|
|
.It Fl R
|
|
»þ´Ö¤Îɽ¼¨¤Ë¡¢Á°¤Î¥¨¥ó¥È¥ê¤«¤é¤ÎÁêÂлþ´Ö¤ò»È¤¤¤Þ¤¹¡£
|
|
.It Fl T
|
|
»þ´Ö¤Îɽ¼¨¤Ë¡¢³Æ¥¨¥ó¥È¥ê¤ÎÀäÂлþ´Ö¤òÍøÍѤ·¤Þ¤¹¡£
|
|
.It Fl t Ar cnisuw
|
|
.Xr ktrace 1
|
|
¤Î
|
|
.Fl t
|
|
¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr ktrace 1
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.Bx 4.4
|
|
¤«¤éÅо줷¤Þ¤·¤¿¡£
|