Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MTAIL(1)			 User Commands			      MTAIL(1)

NAME
       mtail - tail variant designed for web developers	monitoring logfiles

SYNOPSIS
       mtail [options]	_file_...

DESCRIPTION
       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 stan-
       dard 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).

SEE ALSO
       mtailrc(5), tail(1)

AUTHOR
       Martyn Smith <martyn@dollyfish.net.nz>

mtail				   May 2008			      MTAIL(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mtail&manpath=FreeBSD+9.0-RELEASE+and+Ports>

home | help