diff options
Diffstat (limited to 'ja_JP.eucJP/man/man1/last.1')
-rw-r--r-- | ja_JP.eucJP/man/man1/last.1 | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/ja_JP.eucJP/man/man1/last.1 b/ja_JP.eucJP/man/man1/last.1 deleted file mode 100644 index 1c51e3e8ba..0000000000 --- a/ja_JP.eucJP/man/man1/last.1 +++ /dev/null @@ -1,139 +0,0 @@ -.\" 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 -から登場しました。 |