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开发者_Python百科 redirect standard output so that it is visible within this file as well (while keeping the nohup part intact)
Just explicitly redirect its output:
# nohup svnsync synchronize svn://www.mysite.com/repos > nohup.out &
精彩评论