e2tail - Man Page
a basic version of the tail command for an ext2 filesystem
Synopsis
e2tail [options] file
Description
The e2tail(1) command implements a basic version of the tail(1) command.
Options
- -n num_lines
The number of lines to display
- -f
Output appended data as the file grows. This is inode dependent, so if the file is renamed, it will keep checking it.
- -F
Output appended data as the file grows. This is file name dependent, so if the file is renamed, it will check on any new files with the same name as the original. This is useful for watching log files that may be rotated out occasionally. This was requested by a person in the computer security field for monitoring 'honeypot' type machines.
- -s sleep_interval
The number of seconds to sleep before checking if the file has grown while in 'follow' mode. The default is 1.
Examples
Check `/var/log/messages` on `/dev/sdc1` every 10 seconds
See Also
e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2rm(1), e2mv(1).
Author
The e2tools were written by Keith Sheffield <sheff@pobox.com>.
This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others).
Referenced By
e2cp(1), e2ln(1), e2ls(1), e2mkdir(1), e2mv(1), e2rm(1), e2tools(7).