开发者

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

开发者 https://www.devze.com 2023-02-05 09:18 出处:网络
# 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
# 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

精彩评论

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

关注公众号