OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / util-linux / draft / man1 / last.1
1 .\"
2 .\" Japanese Version Copyright (c) 2001 Maki KURODA
3 .\"     all right reserved,
4 .\" Translated Tue Nov  10 18:28:49 JST 2001
5 .\" by Maki KURODA <mkuroda@aisys-jp.com>
6 .\"
7 .TH LAST 1 "20 March 1992"
8 .\"O .SH NAME
9 .\"O last \(em indicate last logins by user or terminal
10 .SH Ì¾Á°
11 last \- ¥æ¡¼¥¶¤Þ¤¿¤ÏüËö¤Ë¤è¤ëºÇ¸å¤Î¥í¥°¥¤¥ó¤ò¼¨¤¹
12 .\"O .SH SYNOPSIS
13 .SH ½ñ¼°
14 .ad l
15 .B last
16 .RB [ \-\fP\fInumber\fP ]
17 .RB [ \-f
18 .IR filename ]
19 .RB [ \-t
20 .IR tty ]
21 .RB [ \-h
22 .IR hostname ]
23 .RB [ \-i
24 .IR address ]
25 .RB [ \-l ]
26 .RB [ \-y ]
27 .RI [ name ...]
28 .ad b
29 .\"O .SH DESCRIPTION
30 .SH ÀâÌÀ
31 .\"O \fBLast\fP looks back in the \fBwtmp\fP file which records all logins
32 .\"O and logouts for information about a user, a teletype or any group of
33 .\"O users and teletypes.  Arguments specify names of users or teletypes of
34 .\"O interest.  If multiple arguments are given, the information which
35 .\"O applies to any of the arguments is printed.  For example ``\fBlast root
36 .\"O console\fP'' would list all of root's sessions as well as all sessions
37 .\"O on the console terminal.  \fBLast\fP displays the sessions of the
38 .\"O specified users and teletypes, most recent first, indicating the times
39 .\"O at which the session began, the duration of the session, and the
40 .\"O teletype which the session took place on.  If the session is still
41 .\"O continuing or was cut short by a reboot, \fBlast\fP so indicates.
42 \fBlast\fP ¤Ï \fBwtmp\fP ¥Õ¥¡¥¤¥ë¤ÎËöÈø¤ò¸«¤ë¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Á´¤Æ¤Î
43 ¥í¥°¥¤¥ó¡¦¥í¥°¥¢¥¦¥È¤Ë¤ª¤±¤ë¥æ¡¼¥¶¤äüËö¡Ê¤¢¤ë¤¤¤Ï¡¢¥æ¡¼¥¶¤äüËö¤Î¥°¥ë¡¼¥×¡Ë¤Î
44 ¾ðÊ󤬵­Ï¿¤µ¤ì¤Æ¤¤¤ë¡£
45 °ú¿ô¤Ï¡¢¥æ¡¼¥¶Ì¾¤Þ¤¿¤Ï´Ø·¸¤Î¤¢¤ëüËö¤ò»ØÄꤹ¤ë¡£
46 Ê£¿ô¤Î°ú¿ô¤¬Í¿¤¨¤é¤ì¤ë¾ì¹ç¡¢°ú¿ô¤Î¤¦¤Á¤Î¤É¤ì¤Ë¤Ç¤âÅö¤Æ¤Ï¤Þ¤ë¾ðÊó¤¬
47 ½ÐÎϤµ¤ì¤ë¡£
48 Î㤨¤Ð¡¢``\fBlast rootconsole\fP'' ¤Ï¡¢root ¤Ë¤è¤ëÁ´¤Æ¤Î¥»¥Ã¥·¥ç¥ó¤È¡¢
49 üËö¤Ç¹Ô¤ï¤ì¤¿Á´¤Æ¤Î¥»¥Ã¥·¥ç¥ó¤òɽ¼¨¤¹¤ë¡£
50 \fBlast\fP ¤Ï¡¢»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤ÈüËö¤Î¥»¥Ã¥·¥ç¥ó¤ËÂФ·¡¢
51 ¥»¥Ã¥·¥ç¥ó¤Î»Ï¤Þ¤Ã¤¿»þ´Ö¡¦¥»¥Ã¥·¥ç¥ó¤Îµ¡´Ø¡¦¥»¥Ã¥·¥ç¥ó¤¬¹Ô¤ï¤ì¤¿Ã¼Ëö¤ò
52 ¡Ê¿·¤·¤¤½ç¤Ë¡Ëɽ¼¨¤¹¤ë¡£
53 ¥»¥Ã¥·¥ç¥ó¤¬¤Þ¤À·Ñ³¤·¤Æ¤¤¤ë¤«¡¢
54 ¥ê¥Ö¡¼¥È¤Ë¤è¤Ã¤ÆÀÚ¤é¤ì¤¿¾ì¹ç¡¢\fBlast\fP ¤Ï¤½¤Î¤è¤¦¤Ë¼¨¤¹¡£
55 .LP
56 .\"O The pseudo-user \fBreboot\fP logs in at reboots of the system.
57 ¥·¥¹¥Æ¥à¤¬¥ê¥Ö¡¼¥È¤¹¤ë¤Èµ¼»÷¥æ¡¼¥¶ \fBreboot\fP ¤Î¥í¥°¥¤¥ó¤¬µ­Ï¿¤µ¤ì¤ë¡£
58 .LP
59 .\"O \fBLast\fP with no arguments displays a record of all logins and
60 .\"O logouts, in reverse order.
61 °ú¿ô¤Î¤Ê¤¤ \fBlast\fP ¤Ï¡¢¹ß½ç¤Ë¤¹¤Ù¤Æ¤Î¥í¥°¥¤¥ó¤ª¤è¤Ó¥í¥°¥¢¥¦¥È¤Î¥ì¥³¡¼¥É¤òɽ¼¨¤¹¤ë¡£
62 .LP
63 .\"O If \fBlast\fP is interrupted, it indicates how far the search has
64 .\"O progressed in \fBwtmp\fP.  If interrupted with a quit signal \fBlast\fP
65 .\"O indicates how far the search has progressed so far, and the search
66 .\"O continues.
67 \fBlast\fP ¤¬ÃæÃǤµ¤ì¤ë¾ì¹ç¡¢¸¡º÷¤¬ \fBwtmp\fP ¤ÎÃæ¤Ç
68 ¤É¤ì¤¯¤é¤¤¿Ê¤ó¤Ç¤¤¤¿¤«¤ò¼¨¤¹¡£quit ¥·¥°¥Ê¥ë¤ÇÃæÃǤµ¤ì¤ë¤È¡¢\fBlast\fP ¤Ï
69 ¸¡º÷¤¬½ª¤ï¤Ã¤¿¤È¤³¤í¤Þ¤Ç¤Î·ë²Ì¤ò¼¨¤·¡¢¤½¤·¤Æ¸¡º÷¤ò³¹Ô¤¹¤ë¡£
70 .\"O .SH OPTIONS
71 .SH ¥ª¥×¥·¥ç¥ó
72 .\"O .IP \fB\-\fP\fInumber\fP
73 .\"O limit the number of entries displayed to that specified by \fInumber\fP.
74 .IP \fB\-\fP\fInumber\fP
75 ɽ¼¨¤¹¤ë¥¨¥ó¥È¥ê¤Î¿ô¤ò
76 .IP \fB\-\fP\fInumber\fP
77 ¤Ç»ØÄꤷ¤¿¿ô¤ËÀ©¸Â¤¹¤ë¡£
78 .\"O .IP "\fB\-f\fP \fIfilename\fP"
79 .\"O Use \fIfilename\fP as the name of the accounting file instead of
80 .\"O .BR /var/log/wtmp .
81 .IP "\fB\-f\fP \fIfilename\fP"
82 ¥¢¥«¥¦¥ó¥È¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ
83 .BR /var/log/wtmp
84 ¤ÎÂå¤ï¤ê¤Ë \fIfilename\fP ¤ò»ÈÍѤ¹¤ë¡£
85 .\"O .IP "\fB\-h\fP \fIhostname\fP"
86 .\"O List only logins from \fIhostname\fP.
87 .IP "\fB\-h\fP \fIhostname\fP"
88 \fIhostname\fP ¤«¤é¤Î¥í¥°¥¤¥ó¤À¤±¤ò¥ê¥¹¥È¤¹¤ë¡£
89 .\"O .IP "\fB\-i\fP \fIIP address\fP""
90 .\"O List only logins from \fIIP address\fP.
91 .IP "\fB\-i\fP \fIIP address\fP""
92 \fIIP address\fP ¤«¤é¤Î¥í¥°¥¤¥ó¤À¤±¤ò¥ê¥¹¥È¤¹¤ë¡£
93 .\"O .IP "\fB\-l\fP"
94 .\"O List IP addresses of remote hosts instead of truncated host names.
95 .IP "\fB\-l\fP"
96 ¥ê¥â¡¼¥È¥Û¥¹¥È¤Îɽ¼¨¤ò¡¢¥Û¥¹¥È̾¡ÊËöÈøÀÚ¤êÍî¤È¤·¡Ë¤Ç¤Ï¤Ê¤¯ IP ¥¢¥É¥ì¥¹ ¤Ç¹Ô¤¦¡£
97 .\"O .IP "\fB\-t\fP \fItty\fP"
98 .\"O List only logins on \fItty\fP.
99 .IP "\fB\-t\fP \fItty\fP"
100 \fItty\fP ¾å¤Î¥í¥°¥¤¥ó¤À¤±¤ò¥ê¥¹¥È¤¹¤ë¡£
101 .\"O .IP "\fB\-y\fP"
102 .\"O Also report year of dates.
103 .IP "\fB\-y\fP"
104 ÆüÉÕ¤âÊó¹ð¤¹¤ë¡£
105 .\"O .SH FILES
106 .SH ¥Õ¥¡¥¤¥ë
107 /var/log/wtmp \(em login data base