Answer the question
In order to leave comments, you need to log in
How to redirect the output of a program running under screen?
Hello!
There was such a question.
There is one software that runs on the server (CentOS 6.5), runs under screen
#screen -ls
There are screens on:
12403.openas2 (Detached)
Writes a lot of good things under the screen
Please tell me how to redirect its output to the terminal or to file and is it possible?
Answer the question
In order to leave comments, you need to log in
Perhaps you should pay attention to another software - supervisorctl. This is essentially a very smart screen with built-in logs, monitoring of your software crashes and much more.
Well, or a simpler case - nohup, which also knows how to write logs to a file.
maybe it will help - www.opennet.ru/docs/RUS/bash_scripting_guide/c1162...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question