Monitoring a nohup process in linux / redirecting standard output to a file?
-
12-10-2019 - |
Pergunta
# nohup svnsync synchronize svn://www.mysite.com/repos &
I'm running the above and it seems to be working fine (disk usage is increasing), but I'm not seeing any logging in nohup.out
How can I redirect standard output so that it is visible within this file as well (while keeping the nohup part intact)
Solução
Just explicitly redirect its output:
# nohup svnsync synchronize svn://www.mysite.com/repos > nohup.out &
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow