如何在Mac OS里同时监视多个服务器上的log

1. 安装Macports:

参照:http://www.macports.org/install.php

2. 用Macports安装multitail:

sudo port install multitail

3. 运行以下命令监视多个服务器上的log

multitail -l "ssh user1@server1 tail -f /where/is/the/log" \
-l "ssh user2@server2 tail -f /where/is/the/log2"
...

2 thoughts on “如何在Mac OS里同时监视多个服务器上的log

Comments are closed.