multi-tailf
watch multiple logs on local or remote servers.
Dependencies
Usage
Usage: mtailf [OPTIONS] [ /path/file | user:pass@host:file ] ...
or: mtailf [ --version | --help ]
mtailf is equivalent of tail -f on multiple local or remote files at once
Options:
--ssh-pass=value default password for ssh
--ssh-key=~/.ssh/id_rsa default key file for ssh
--ssh-file=value default file for ssh tail
--version show version information
--help show this help
Examples:
* Local files
mtailf /var/log/messages-1 /var/log/messages-2
* Multiple files on servers
mtailf [email protected] [email protected] --ssh-pass=password --ssh-file=/var/log/messages
* Use SSH private key
mtailf [email protected]:/var/log/messages --ssh-key=/tmp/ssh.key
* Use SSH passwords
mtailf root:[email protected]:/var/log/messages root:[email protected]:/var/log/messages
* Use SSH port
mtailf [email protected]:8022:/var/log/messages