开发者

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 &
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜