mtail(1)

mtail1

Tail variant designed for web developers monitoring logfiles

Usage

mtail [options] <file> ...

Overview

MonkeyTail allows a user to tail multiple files on both local and remote hosts and clearly marks inactivity by putting 5 newlines in the output whenever a pause in output over 3 seconds is detected.

MonkeyTail is implemented a fairly simple wrapper script around standard tail, ssh, and sudo.

Options

-q

Quiet mode

--quiet

" "

-n

Output the last N lines of each file before tailing (defaults to 0)

<file>...

Files to tail.

These can specified in the following ways:

@<groupname>

- expands the group (from .mtailrc) to a list of

files to tail

<filename>

- tails a local file.

+<filename> - attempts to sudo and tail a local file (will

prompt for pwd if required).

<remotehost>:<filename>

- attempts to invoke tail via ssh on a remote

host.

+<remotehost>:<filename> - attempts to invoke sudo tail via ssh on a

remote host (will prompt for pwd if required).

Releases

4 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0–8

-n since Debian 6.0 (Squeeze).

Author

Martyn Smith <[email protected]>

From monkeytail 0.3.2-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.