Le suivi d'un processus nohup dans linux / redirection de la sortie standard vers un fichier?
-
12-10-2019 - |
Question
# nohup svnsync synchronize svn://www.mysite.com/repos &
Je suis en cours d'exécution ci-dessus et il semble être bien de travail (utilisation du disque augmente), mais je ne vois aucune exploitation forestière dans nohup.out
Comment puis-je rediriger la sortie standard afin qu'il soit visible dans ce fichier ainsi (tout en gardant la partie intacte nohup)
La solution
Il suffit de rediriger explicitement sa sortie:
# nohup svnsync synchronize svn://www.mysite.com/repos > nohup.out &
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow