Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

is there a 'native' way where i can rotate nohup out file ?

share|improve this question

2 Answers 2

Check this article: http://unix.ittoolbox.com/groups/technical-functional/solaris-l/nohup-files-rotation-when-process-is-running-639605

share|improve this answer
    
thanks looks good - i had something similar in mind - to connect input to output via a pipe but this confirms. –  silviud Jan 17 '11 at 16:37

Have a look at this script I wrote to solve a similar problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.