OSDN Git Service

Convert release and draft pages to UTF-8.
[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