I have few production unix servers. For debugging purposes, I have to login into 5-6 servers and check for logs in each of the servers. Is it possible to automate this task? Can I write a java program which will connect to each of the servers and read the log files. I cannot run any programs in the unix boxes. Anything that has to happen has to happen in the window box. Any suggestions or ideas?
Hi,
I'm experiencing similar issue. In my case I have Java application that searches multiple files on few different Unix servers for user specified search terms, but the problem is that FTPing all those files simply takes too much time making application unusable (we have log files that are over 100 MB in size). I'm trying to modify existing application to perform search on Unix servers rather than FTPing every single file. Did anyone did similar thing before? Does anyone have any suggestions? It is possible to write ruby script and manually execute this, but is it possible to incorporate this as part of Java application (perhaps using ssh4j or jruby)?