Is it possible to grab / intercept the output from an already running Java program?
This is my situation: I'm running a program which takes some hours to finish. So I start it and let the computer do it's work. I can login on the computer running the program with SSH and see the it running with ps, but I would like to intercept the output which is written to the console.
Is there any way to do this?
Do I need to provide extra information?