Reviewed by: The Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG> Submitted by: horikawa@jp.freebsd.org
135 lines
4.5 KiB
Groff
135 lines
4.5 KiB
Groff
.\" Copyright (c) 1988, 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.
|
||
.\"
|
||
.\" @(#)shutdown.8 8.1 (Berkeley) 6/5/93
|
||
.\" jpman %Id: shutdown.8,v 1.2 1997/05/13 00:55:09 mutoh Stab %
|
||
.\"
|
||
.Dd June 5, 1993
|
||
.Dt SHUTDOWN 8
|
||
.Os BSD 4
|
||
.Sh ̾¾Î
|
||
.Nm shutdown
|
||
.Nd »ØÄê»þ¹ï¤Ë¥·¥¹¥Æ¥à¤òÄä»ß¤¹¤ë
|
||
.Sh ½ñ¼°
|
||
.Nm shutdown
|
||
.Op Fl
|
||
.Op Fl hkrn
|
||
.Ar time
|
||
.Op Ar warning-message ...
|
||
.Sh ²òÀâ
|
||
.Nm shutdown
|
||
¤Ï¡¢¼«Æ°Åª¤Ë¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¤¿¤á¤Î¼ê½ç¤ò¥¹¡¼¥Ñ¥æ¡¼¥¶¤ËÄ󶡤·¤Þ¤¹¡£
|
||
¥·¥¹¥Æ¥à¤¬¥·¥ã¥Ã¥È¥À¥¦¥ó¤µ¤ì¤ë¤È¤¥æ¡¼¥¶¤ËÃΤ餻¤ë¤Î¤Ç¡¢
|
||
¤³¤¦¤¤¤Ã¤¿¤ªÃΤ»¤òÌÌÅݤ¬¤Ã¤Æ¹Ô¤Ê¤ï¤Ê¤¤
|
||
¥·¥¹¥Æ¥à´ÉÍý¼Ô¤ä¥Ï¥Ã¥«¡¼¤ä¥°¥ë¤È¤¤¤Ã¤¿¿Í¡¹¤«¤é¡¢¥æ¡¼¥¶¤òµß¤¤¤Þ¤¹¡£
|
||
.Pp
|
||
°Ê²¼¤Î¿ÆÀڤʥª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹:
|
||
.Bl -tag -width time
|
||
.It Fl h
|
||
.Ar time
|
||
¤Ç»ØÄꤵ¤ì¤¿»þ´Ö¤Ë
|
||
.Xr halt 8
|
||
¤ò¼Â¹Ô¤·¡¢¥·¥¹¥Æ¥à¤òÄä»ß¤·¤Þ¤¹¡£
|
||
.It Fl k
|
||
Á´¥æ¡¼¥¶¤òÄɤ¤½Ð¤·¤Þ¤¹¡£
|
||
¼ÂºÝ¤Ë¤Ï¥·¥¹¥Æ¥à¤òÄä»ß¤·¤Þ¤»¤ó¤¬¡¢
|
||
¥Þ¥ë¥Á¥æ¡¼¥¶¥·¥¹¥Æ¥à¤Î¤Þ¤Þ¤Ç¥¹¡¼¥Ñ¥æ¡¼¥¶°Ê³°¤Î¥æ¡¼¥¶¤ò¥í¥°¥¤¥ó¤Ç¤¤Ê¤¯¤·¤Þ¤¹¡£
|
||
.It Fl n
|
||
Ää»ß¤¹¤ëÁ°¤Ë¡¢Ä̾ï¼Â¹Ô¤µ¤ì¤ë
|
||
.Xr sync 2
|
||
¤ò¼Â¹Ô¤·¤Þ¤»¤ó¡£
|
||
.It Fl r
|
||
.Ar time
|
||
¤Ç»ØÄꤷ¤¿»þ¹ï¤Ë
|
||
.Xr reboot 8
|
||
¤ò¼Â¹Ô¤·¡¢¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Þ¤¹¡£
|
||
.It Ar time
|
||
.Nm shutdown
|
||
¤¬¥·¥¹¥Æ¥à¤òÄä»ß¤µ¤»¤ë»þ´Ö¤ò»ØÄꤷ¤Þ¤¹¡£
|
||
.Ar now
|
||
¤ò»ØÄꤹ¤ë¤È¨»þ¤Ë¥·¥¹¥Æ¥à¤òÄä»ß¤·¤Þ¤¹¡£
|
||
¤Þ¤¿¡¢»þ´Ö¤ò»ØÄꤹ¤ë¼¡¤ÎÆó¤Ä¤Î½ñ¼°¤¬¤¢¤ê¤Þ¤¹:
|
||
.Ar +number
|
||
¤â¤·¤¯¤Ï
|
||
.Ar yymmddhhmm
|
||
¤Î·Á¼°¤Ç¤¹¡£¸½ºß¤Î¥·¥¹¥Æ¥à¤Îǯ¡¦·î¡¦Æü¤ÎÃͤ¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
|
||
°ì¤Ä¤á¤Î½ñ¼°¤Ï
|
||
.Ar number
|
||
ʬ·Ð²á¸å¤ò¤¢¤é¤ï¤·¡¢Æó¤Ä¤á¤Î½ñ¼°¤ÏÄä»ß¤¹¤ë»þ¹ï¤òľÀÜ»ØÄꤷ¤Þ¤¹¡£
|
||
.It Ar warning-message
|
||
¤½¤Î¾¤Î°ú¿ô¤Ï¸½ºß¥í¥°¥¤¥óÃæ¤Î¥æ¡¼¥¶¤ËÁ÷¤ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
|
||
.It Fl
|
||
¤â¤·
|
||
.Ql Fl
|
||
¤¬¥ª¥×¥·¥ç¥ó¤È¤·¤ÆÍ¿¤¨¤é¤ì¤ë¤È¡¢·Ù¹ð¥á¥Ã¥»¡¼¥¸¤òɸ½àÆþÎϤ«¤éÆÉ¤ß¼è¤ê¤Þ¤¹¡£
|
||
.El
|
||
.Pp
|
||
¥·¥¹¥Æ¥àÄä»ß¤Î 10 »þ´ÖÁ°¤«¤é¡¢¥í¥°¥¤¥óÃæ¤ÎÁ´¤Æ¤Î¥æ¡¼¥¶¤ÎüËö¤Ë
|
||
·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Ï¤¸¤á¡¢½ªËö¤¬¶áÉÕ¤¯¤Ë¤Ä¤ìÉÑÈˤˤʤäƤ¤Þ¤¹¡£
|
||
¥·¥¹¥Æ¥àÄä»ß¤Î 5 ʬÁ°¡¢¤â¤·¤¯¤Ï 5 ʬ°ÊÆâ¤Ë¥·¥¹¥Æ¥àÄä»ß¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢
|
||
¤¿¤À¤Á¤Ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¤ò¥³¥Ô¡¼¤·¤¿
|
||
.Pa /etc/nologin
|
||
¤¬ºî¤é¤ì¥í¥°¥¤¥ó¤¬¶Ø»ß¤µ¤ì¤Þ¤¹¡£
|
||
¥æ¡¼¥¶¤¬¥í¥°¥¤¥ó¤·¤è¤¦¤È¤·¤¿ºÝ¤Ë¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢
|
||
.Xr login 1
|
||
¤Ï¤½¤ÎÆâÍÆ¤òɽ¼¨¤·½ªÎ»¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
|
||
.Nm shutdown
|
||
¤¬½ªÎ»¤¹¤ëºÝ¤Ëºï½ü¤µ¤ì¤Þ¤¹¡£
|
||
.Pp
|
||
¥·¥¹¥Æ¥àÄä»ß»þ¤Ë¤Ï¡¢¥·¥¹¥Æ¥à¤òÄä»ß¤·¤¿»þ´Ö¡¢¼Â¹Ô¼Ô¡¢Íýͳ¤¬
|
||
¥·¥¹¥Æ¥à¥í¥°¤ËµÏ¿¤µ¤ì¤Þ¤¹¡£¤½¤Î¸å¡¢terminate ¥·¥°¥Ê¥ë¤¬
|
||
.Xr init
|
||
¤ËÁ÷¤é¤ì¡¢¥·¥¹¥Æ¥à¤ò¥·¥ó¥°¥ë¥æ¡¼¥¶¾õÂ֤ˤ·¤Þ¤¹(¤³¤Îưºî¤Ï¾åµ¤Î
|
||
¥ª¥×¥·¥ç¥ó¤Ë°Í¸¤·¤Þ¤¹)¡£
|
||
¥·¥¹¥Æ¥à¤òÄä»ß¤¹¤ë»þ´Ö¤È·Ù¹ð¥á¥Ã¥»¡¼¥¸¤Ï
|
||
.Pa /etc/nologin
|
||
¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤ì¤ò¥æ¡¼¥¶¤Ë¥·¥¹¥Æ¥à¤òºÆ³«¤¹¤ë»þ´Ö¤ä¡¢¤Ê¤¼¥·¥¹¥Æ¥à¤ò
|
||
Ää»ß¤¹¤ë¤«¤Ê¤É¤òÃΤ餻¤ë¤¿¤á¤Ë»È¤¦¤Ù¤¤Ç¤¹¡£
|
||
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
||
.Bl -tag -width /etc/nologin -compact
|
||
.It Pa /etc/nologin
|
||
login ¤Ëï¤Ë¤â¥í¥°¥¤¥ó¤µ¤»¤Ê¤¤¤³¤È¤òÃΤ餻¤Þ¤¹¡£
|
||
.El
|
||
.Sh ´ØÏ¢¹àÌÜ
|
||
.Xr login 1 ,
|
||
.Xr wall 1 ,
|
||
.Xr nologin 5 ,
|
||
.Xr halt 8 ,
|
||
.Xr reboot 8
|
||
.Bd -literal -offset indent
|
||
.Sh °ÊÁ°¤È¤Î¸ß´¹À
|
||
°ÊÁ°¤È¤Î¸ß´¹À¤Î¤¿¤á¡¢Æó¤Ä¤á¤Î½ñ¼°¤Ç»þ¤Èʬ¤ò¥³¥í¥ó(``:'')¤Ç¶èÀڤ뤳¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
.Ed
|
||
.Sh Îò»Ë
|
||
.Nm
|
||
¥³¥Þ¥ó¥É¤Ï
|
||
.Bx 4.0
|
||
¤«¤éÅо줷¤Þ¤·¤¿¡£
|