What makes monkeytail so useful is its ability to easily tail multiple files together, even when it involves connecting to these machines over ssh and running sudo on them. For example, you could tail all of your load-balanced servers by doing:
mtail @webserverswhere webservers is an alias defined in ~/.mtailrc:
It is available in Debian unstable and from its official homepage.<group webservers>
sudo yes
<file>
filename /var/log/apache2/error.log
prefix "server1: "
host server1.example.com
</file>
<file>
filename /var/log/apache2/error.log
prefix "server2: "
host server2.example.com
</file>
</group>
Kudos to Martyn Smith for turning this idea into a release!



2 comments:
I used to use a program called root-tail to output various logs onto my desktop. Readability suffered, though. This sounds like a much better way for realtime log viewing.
Someone also pointed out this similar project:
multitail
Post a Comment