Search code examples
linuxbackground-processnohupsvnsync

Monitoring a nohup process in linux / redirecting standard output to a file?


# 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)


Solution

  • Just explicitly redirect its output:

    # nohup svnsync synchronize svn://www.mysite.com/repos > nohup.out &