140 lines
3.8 KiB
Groff
140 lines
3.8 KiB
Groff
.\" Copyright (c) 1990, 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.
|
|
.\"
|
|
.\" @(#)reboot.8 8.1 (Berkeley) 6/9/93
|
|
.\" %FreeBSD: src/sbin/reboot/reboot.8,v 1.10.2.4 2001/12/14 15:17:54 ru Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd June 9, 1993
|
|
.Dt REBOOT 8
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm reboot ,
|
|
.Nm halt ,
|
|
.Nm fastboot ,
|
|
.Nm fasthalt
|
|
.Nd ¥·¥¹¥Æ¥à¤òÄä»ß¤·¡¢ºÆµ¯Æ°¤¹¤ë
|
|
.Sh ½ñ¼°
|
|
.Nm halt
|
|
.Op Fl lnqp
|
|
.Nm
|
|
.Op Fl dlnqp
|
|
.Nm fasthalt
|
|
.Op Fl lnqp
|
|
.Nm fastboot
|
|
.Op Fl dlnqp
|
|
.Sh ²òÀâ
|
|
.Nm halt
|
|
¤È
|
|
.Nm
|
|
¤Ï¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥¥ã¥Ã¥·¥å¤ò¥Ç¥£¥¹¥¯¤Ø½ñ¤½Ð¤·¡¢
|
|
¤¹¤Ù¤Æ¤Î¼Â¹ÔÃæ¤Î¥×¥í¥»¥¹¤Ë
|
|
.Dv SIGTERM
|
|
¤ò
|
|
(¤½¤·¤Æ¡¢¤½¤ì¤Ë³¤¤¤Æ
|
|
.Dv SIGKILL
|
|
¤ò) Á÷¤ê¤Þ¤¹¡£
|
|
¤½¤·¤Æ¡¢¥·¥¹¥Æ¥à¤òÄä»ß (
|
|
.Nm halt
|
|
) ¤·¤¿¤ê¡¢ºÆµ¯Æ° (
|
|
.Nm
|
|
) ¤·¤¿¤ê¤·¤Þ¤¹¡£
|
|
¤½¤Îưºî¤Ï
|
|
.Xr wtmp 5
|
|
¥Õ¥¡¥¤¥ë¤ËµÆþ¤µ¤ì¤Þ¤¹¡£
|
|
¤½¤ì¤Ï¥í¥°¥¤¥ó¤Î¥¢¥«¥¦¥ó¥Æ¥£¥ó¥°¥Õ¥¡¥¤¥ë¤Ø¤Î¥·¥ã¥Ã¥È¥À¥¦¥óµÏ¿¤Î½ñ¤½Ð¤·
|
|
¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
|
|
.Pp
|
|
¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
|
|
.Bl -tag -width indent
|
|
.It Fl d
|
|
¥·¥¹¥Æ¥à¤Ø¥¯¥é¥Ã¥·¥å¥À¥ó¥×ºîÀ®¤òÍ׵ᤷ¤Þ¤¹¡£
|
|
ËÜ¥ª¥×¥·¥ç¥ó¤Ï¥ê¥Ö¡¼¥È»þ¤Î¤ß¤Ë¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
¤½¤ÎÁ°¤Ë
|
|
.Xr dumpon 8
|
|
¤Ë¤è¤ê¥À¥ó¥×¥Ç¥Ð¥¤¥¹¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤Î¤Ç¤Ê¤¤¸Â¤ê¡¢Ìµ¸ú¤Ç¤¹¡£
|
|
.It Fl l
|
|
Ää»ß¤Þ¤¿¤ÏºÆµ¯Æ°¤Ï¡¢¥·¥¹¥Æ¥à¥í¥°¤ËµÏ¿¤µ¤ì
|
|
.Em ¤Þ¤»¤ó
|
|
¡£
|
|
ËÜ¥ª¥×¥·¥ç¥ó¤Ï¡¢
|
|
.Nm
|
|
¤ä
|
|
.Nm halt
|
|
¤ò¸Æ¤ó¤Ç¼«¿È¤ÇµÏ¿¤ò¤È¤ë¡¢
|
|
.Xr shutdown 8
|
|
¤Î¤è¤¦¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥óÍѤǤ¹¡£
|
|
.It Fl n
|
|
¥·¥¹¥Æ¥à¤Î¥¥ã¥Ã¥·¥å¤¬¥Ç¥£¥¹¥¯¤Ø½ñ¤½Ð¤µ¤ì¤Þ¤»¤ó¡£
|
|
¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï»ÈÍѤ¹¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
|
|
.It Fl q
|
|
¥·¥¹¥Æ¥à¤Ï¡¢¤È¤Ë¤«¤¯Â®¤¯Ää»ß¤µ¤ì¤¿¤ê¡¢
|
|
ºÆµ¯Æ°¤µ¤ì¤¿¤ê¤·¤Þ¤¹¡£¤½¤·¤Æ¥·¥¹¥Æ¥à¤Î¥¥ã¥Ã¥·¥å¤ÎÇË´þ¤À¤±¤¬¹Ô¤ï¤ì¤Þ¤¹ (
|
|
.Fl n
|
|
¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç)¡£
|
|
¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï»ÈÍѤ¹¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
|
|
.It Fl p
|
|
¥·¥¹¥Æ¥à¤Ï²Äǽ¤Ç¤¢¤ì¤ÐÅŸ»¤òÀÚ¤ê¤Þ¤¹¡£
|
|
¤³¤ì¤Ï¡¢¤â¤Á¤í¤ó
|
|
.Nm
|
|
¤Ç¤â¡¢
|
|
.Nm halt
|
|
¤ÈƱ¤¸¤è¤¦¤Ë¿¶¤ëÉñ¤¦¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Nm fasthalt
|
|
¤È
|
|
.Nm fastboot
|
|
¤Ï¡¢¤½¤ì¤¾¤ì
|
|
.Nm halt
|
|
¤È
|
|
.Nm
|
|
¤Îñ¤Ê¤ëÊÌ̾¤Ë¤¹¤®¤Þ¤»¤ó¡£
|
|
.Pp
|
|
Ä̾¥·¥¹¥Æ¥à¤ÎÄä»ß¤äºÆµ¯Æ°¤òÍפ¹¤ë¾ì¹ç¤Ë¤Ï¡¢
|
|
¥æ¡¼¥¶¤Ë»öÁ°·Ù¹ð¤òÍ¿¤¨¤ÆÆÃÄê¤Î¥×¥í¥°¥é¥à¤òåºÎï¤ËÄä»ß¤¹¤ë
|
|
.Xr shutdown 8
|
|
¤ò»ÈÍѤ·¤Þ¤¹¡£
|
|
.Xr shutdown 8
|
|
¤Ï¡¢¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¥æ¡¼¥¶¤Ë¥·¥¹¥Æ¥àÄä»ß¤Î·Ù¹ð¤òÍ¿¤¨¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr wtmp 5 ,
|
|
.Xr boot 8 ,
|
|
.Xr dumpon 8 ,
|
|
.Xr savecore 8 ,
|
|
.Xr shutdown 8 ,
|
|
.Xr sync 8
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.At v6
|
|
¤ÇÄɲ䵤ì¤Þ¤·¤¿¡£
|