The Japanese Manual team(man-jp@jp.FreeBSD.ORG) has translated and keeps maintaining them. Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
		
			
				
	
	
		
			139 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			139 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			Groff
		
	
	
	
	
	
| .\" Copyright (c) 1980, 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.
 | ||
| .\"
 | ||
| .\"     @(#)last.1	8.1 (Berkeley) 6/6/93
 | ||
| .\" jpman %Id: last.1,v 1.2 1997/05/12 06:02:31 yugawa Stab %
 | ||
| .\"
 | ||
| .Dd June 6, 1993
 | ||
| .Dt LAST 1
 | ||
| .Os BSD 4
 | ||
| .Sh ̾¾Î
 | ||
| .Nm last
 | ||
| .Nd ºÇ¶á¥í¥°¥¤¥ó¤·¤¿¥æ¡¼¥¶¤ÎµÏ¿¤òɽ¼¨¤¹¤ë
 | ||
| .Sh ½ñ¼°
 | ||
| .Nm last
 | ||
| .Op Fl Ns Ar n
 | ||
| .Op Fl f Ar file
 | ||
| .Op Fl h Ar host
 | ||
| .Op Fl t Ar tty
 | ||
| .Op user ...
 | ||
| .Sh ²òÀâ
 | ||
| .Nm last
 | ||
| ¤Ï»ØÄꤵ¤ì¤¿
 | ||
| .Ar user ,
 | ||
| .Ar tty ,
 | ||
| ¤ä
 | ||
| .Ar host
 | ||
| ¤Ç¤Î¥í¥°¥¤¥ó¤·¤Æ¤«¤é¥í¥°¥¢¥¦¥È¤Þ¤Ç¤ò
 | ||
| ºÇ¶á¤Îʪ¤«¤éɽ¼¨¤·¤Þ¤¹¡£
 | ||
| ½ÐÎϤγƹԤˤϡ¢¥æ¡¼¥¶Ì¾¡¢¥»¥Ã¥·¥ç¥ó¤ò½èÍý¤·¤¿ tty¡¢¥Û¥¹¥È̾¡¢¥»¥Ã¥·¥ç¥ó¤Î
 | ||
| ³«»Ï¤ª¤è¤Ó½ªÎ»»þ¹ï¡¢¥»¥Ã¥·¥ç¥ó¤Î´ü´Ö¤Î¾ðÊ󤬴ޤޤì¤Þ¤¹¡£¥»¥Ã¥·¥ç¥ó¤¬¤Þ¤À
 | ||
| ·ÑÂ³Ãæ¤Ç¤¢¤ë¤«¡¢¥¯¥é¥Ã¥·¥å¤Ê¤¤¤·¥·¥ã¥Ã¥È¥À¥¦¥ó¤Ë¤è¤êÃæÃǤµ¤ì¤¿¾ì¹ç¤Ï
 | ||
| ¤½¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
 | ||
| .Bl -tag -width indent-two
 | ||
| .Pp
 | ||
| .It Fl f Ar file
 | ||
| »ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤«¤é¥í¥°¥¤¥ó¾ðÊó¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È
 | ||
| ¤Ç¤Ï¡¢
 | ||
| .Pa /var/log/wtmp
 | ||
| ¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£
 | ||
| .It Fl Ar n
 | ||
| ɽ¼¨¤¹¤ë¥»¥Ã¥·¥ç¥ó¾ðÊó¤ò¡¢
 | ||
| .Ar n
 | ||
| ¹Ô
 | ||
| °ÊÆâ¤ËÀ©¸Â¤·¤Þ¤¹¡£
 | ||
| .It Fl t Ar tty
 | ||
| .Ar tty
 | ||
| ¤ò»ØÄꤷ¤Þ¤¹¡£
 | ||
| .Ar tty
 | ||
| ¤Ë¤Ï¡¢´°Á´¤Ê
 | ||
| üËö̾¤«¡¢tty ¤ò¾Êά¤·¤¿Ì¾Á°¤ò»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢
 | ||
| .Dq Li "last -t 03"
 | ||
| ¤Ï¡¢
 | ||
| .Dq Li "last -t tty03"
 | ||
| ¤ÈƱ¤¸¤Ç¤¹¡£
 | ||
| .It Fl h Ar host
 | ||
| .Ar host
 | ||
| ¤Ï¡¢¥Û¥¹¥È̾¤«¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
 | ||
| .El
 | ||
| .Pp
 | ||
| Ê£¿ô¤Î°ú¿ô¤¬Í¿¤¨¤é¤ì¤ë¤È¡¢
 | ||
| .Nm last
 | ||
| ¤Ï¤½¤ì¤é¤Î°ú¿ô¤Î¤¤¤º¤ì¤«¤òËþ¤¹¤ë¤¹¤Ù¤Æ¤Î
 | ||
| ¥»¥Ã¥·¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤è¤¦¤È¤·¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢
 | ||
| .Dq Li "last root -t console"
 | ||
| ¤È¤¹¤ë¤È¡¢
 | ||
| .Dq Li root
 | ||
| ¤Î¹Ô¤Ã¤¿¥»¥·¥ç¥ó¤Î¤¹¤Ù¤Æ¤È¡¢Ã¼Ëö console ¾å¤Ç¤Î
 | ||
| ¥»¥Ã¥·¥ç¥ó¤Î¤¹¤Ù¤Æ¤òɽ¼¨¤·¤Þ¤¹¡£¤â¤·¡¢
 | ||
| .Ar user
 | ||
| ¤â
 | ||
| .Ar host
 | ||
| ¤â
 | ||
| .Ar tty
 | ||
| ¤â
 | ||
| »ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¡¢
 | ||
| .Nm last
 | ||
| ¤Ï¤¹¤Ù¤Æ¤Î¥í¥°¥¤¥ó¡¢¥í¥°¥¢¥¦¥È¾ðÊó¤òɽ¼¨
 | ||
| ¤·¤Þ¤¹¡£
 | ||
| .Pp
 | ||
| ¥·¥¹¥Æ¥à¤ò¥ê¥Ö¡¼¥È¤¹¤ë¤È¡¢¤½¤Î¾ðÊó¤Ï²¾Áۥ桼¥¶¤Ç¤¢¤ë
 | ||
| .Ar reboot
 | ||
| ¤Î¥»¥Ã¥·¥ç¥ó¤È¤·¤ÆµÏ¿¤µ¤ì¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢
 | ||
| .Dq Li last reboot
 | ||
| ¤È¤¹¤ë¤È¡¢¥·¥¹¥Æ¥à¤Î¥ê¥Ö¡¼¥È
 | ||
| ´Ö³Ö¤òÃΤ뤳¤È¤¬¤Ç¤¤Þ¤¹¡£
 | ||
| .Pp
 | ||
| ³ä¤ê¹þ¤ß¤¬µ¯¤³¤ë¤È¡¢
 | ||
| .Pa wtmp
 | ||
| ¤ÎµÏ¿³«»ÏÆü»þ¤òɽ¼¨¤·¤Þ¤¹¡£QUIT ¥·¥°
 | ||
| ¥Ê¥ë¤Ë¤è¤Ã¤Æ³ä¤ê¹þ¤ß¤¬¹Ô¤ï¤ì¤¿¾ì¹ç¡¢
 | ||
| .Nm last
 | ||
| ¤Ï
 | ||
| ¸¡º÷¤ò³«»Ï¤·¤Æ¤«¤é¥·¥°¥Ê¥ë¤ò¼õ¤±¤ë¤Þ¤Ç¤Ë¸¡º÷¤·¤¿ÆüÉÕ¤òɽ¼¨¤·¡¢¼Â¹Ô¤ò³¤±¤Þ¤¹¡£
 | ||
| .Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
 | ||
| .Bl -tag -width /var/log/wtmp -compact
 | ||
| .It Pa /var/log/wtmp
 | ||
| ¥í¥°¥¤¥ó¾ðÊó¥Ç¡¼¥¿¥Ù¡¼¥¹
 | ||
| .El
 | ||
| .Sh ´ØÏ¢¹àÌÜ
 | ||
| .Xr lastcomm 1 ,
 | ||
| .Xr utmp 5 ,
 | ||
| .Xr ac 8
 | ||
| .Sh ¥Ð¥°
 | ||
| ¥í¥°¥¤¥ó¥·¥§¥ë¤¬²¿¤é¤«¤ÎÍýͳ¤Ç°Û¾ï½ªÎ»¤·¤¿¾ì¹ç¡¢¥í¥°¥¢¥¦¥È¤ÎµÏ¿¤¬
 | ||
| wtmp ¥Õ¥¡¥¤¥ë¤ËµÏ¿¤µ¤ì¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ÎÍͤʾì¹ç¡¢last ¤Ï¡¢
 | ||
| ¥í¥°¥¢¥¦¥È¤Î»þ¹ï¤ò "shutdown" ¤Èɽ¼¨¤·¤Þ¤¹¡£
 | ||
| .Sh Îò»Ë
 | ||
| .Nm last
 | ||
| ¤Ï
 | ||
| .Bx 3.0
 | ||
| ¤«¤éÅо줷¤Þ¤·¤¿¡£
 |