Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 422 lines (314 sloc) 10.9 KB

NAME

rtail - irssi-style local and remote file tailer

SYNOPSIS

rtail --user root --file <filename> [--file <filename> ...]

<filename> can be either:

a local filename

Ex.: /var/log/messages

a remote filename, ssh-like syntax

Ex.: <hostname>:<local-file-path>

DESCRIPTION

rtail = tail + ssh + irc means that rtail is a irssi-like console application to tail many local and remote files together.

Irc-style commands like /grep <regex> allow to search and highlight given patterns in the stream of tailed log files that are coming from "the tubes".

More commands are planned.

MOTIVATION

This tool started from my frustration in combing production log files from many different servers at the same time.

STATUS

The basic prototype is functional and usable. The only commands right now are /quit and /grep.

I plan to expand this to allow arbitrary sources of data like tcpflow for example. That would be awesome.

The future's just a few night hacking sessions away :)

AUTHOR

Cosimo Streppone, cosimo@cpan.org