TAILF(1) Linux Programmer’s Manual TAILF(1) 名前 tailf - ログファイルの追加分を追跡する 書式 tailf file 説明 tailf はファイルの末尾 10 行を表示し、その後ファイルに追加される行を待 ち続ける。 tailf は tail -f と似ているが、ファイルへの追加書き込みが な い とファイルへアクセスを行わない。したがってファイルのアクセス時間は更 新されないので、ログに関る動作が起らない間は、定期的なファイルシステ ム のフラッシュも生じない。 tailf は、ラップトップで、あまり頻繁に書き込まれない状態のログファイル を監視にする場合に大変便利である。ハードディスクをスピンダウンさせ、 電 池を長持ちさせることができる。 バグ 末尾の行を 10 行でなく n 行表示したい場合のオプションが必要である。 著者 このプログラムは Rik Faith (faith@cs.unc.edu) によって書かれ、 GNU 一般 公共使用許諾のもとで自由に再配布できる。このプログラムは「完全に無保 証 」である。現在の管理者は Avery Pennarun (apenwarr@worldvisions.ca) であ る。 関連項目 syslogd(1), apmd(8) 11 Jan 1996 TAILF(1)
TAILF(1) Linux Programmer’s Manual TAILF(1) NAME tailf - follow the growth of a log file SYNOPSIS tailf [OPTION] file DESCRIPTION tailf will print out the last 10 lines of a file and then wait for the file to grow. It is similar to tail -f but does not access the file when it is not growing. This has the side effect of not updating the access time for the file, so a filesystem flush does not occur periodi- cally when no log activity is happening. tailf is extremely useful for monitoring log files on a laptop when logging is infrequent and the user desires that the hard disk spin down to conserve battery life. Mandatory arguments to long options are mandatory for short options too. -n, --lines N, -N output the last N lines, instead of the last 10. AUTHOR This program was originally written by Rik Faith (faith@acm.org) and may be freely distributed under the terms of the X11/MIT License. There is ABSOLUTELY NO WARRANTY for this program. The latest inotify based implementation was written by Karel Zak (kzak@redhat.com). SEE ALSO tail(1), less(1) AVAILABILITY The tailf command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. 13 February 2003 TAILF(1)
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa