e2tail [options] file
The e2tail(1) command implements a basic version of the tail(1) command.
- -n num_lines
The number of lines to display
Output appended data as the file grows. This is inode dependent, so if the file is renamed, it will keep checking it.
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.
Check `/var/log/messages` on `/dev/sdc1` every 10 seconds
e2tail -s 10 -F /dev/sdc1:/var/log/messages
e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2rm(1), e2mv(1).
The e2tools were written by Keith Sheffield <email@example.com>.
This manual page was written by Lucas Wall <firstname.lastname@example.org>, for the Debian project (but may be used by others).
e2cp(1), e2ln(1), e2ls(1), e2mkdir(1), e2mv(1), e2rm(1), e2tools(7).