Re: How to know that make buildworld finished
On Monday 06 March 2006 04:25, Olivier Nicole wrote: For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? I suggest using screen. You can find it in the ports as sysutils/screen. It will allow you to detach from a shell, then later reconnect to it. The shell will keep running in the meantime. It's very useful, especially if your SSH connection is unreliable. Another program that might be helpful is script(1). Cheers Benjamin pgpFo08UIUzvf.pgp Description: PGP signature
Re: How to know that make buildworld finished
Benjamin Lutz writes: Is there a way to check that make buildworld did finished successfully? I suggest using screen. You can find it in the ports as sysutils/screen. It will allow you to detach from a shell, then later reconnect to it. The shell will keep running in the meantime. It's very useful, especially if your SSH connection is unreliable. For several years now I have used the following to buildworld: cd /usr/src rm buildworld.errors rm -rf /usr/obj #make clean make -v cleandir; make -v cleandir date ./buildworld.time # make -j 5 buildworld ./buildworld.errors make -v buildworld ./buildworld.errors tail -n 25 /usr/src/buildworld.errors | sendmail huff I know when it started; when it ended, and I have the complete log available in case something went wrong. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to know that make buildworld finished
Hi, For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? TIA. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to know that make buildworld finished
Hi Olivier, You could create a simple 'buildworld' script that logs the date and time before and after into a simple /var/log/buildworld.log file. Cheers, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olivier Nicole Sent: Monday, 6 March 2006 11:25 AM To: freebsd-questions@freebsd.org Subject: How to know that make buildworld finished Hi, For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? TIA. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to know that make buildworld finished
--- Olivier Nicole [EMAIL PROTECTED] wrote: Hi, For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? Use a Short-Circuit List Operator: '' make buildworld mail -s Buildworld successful! [EMAIL PROTECTED] /dev/null __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to know that make buildworld finished
Is there a way to check that make buildworld did finished successfully? Use a Short-Circuit List Operator: '' make buildworld mail -s Buildworld successful! [EMAIL PROTECTED] /dev/null Thanks, I should have thought about that myself :(( Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to know that make buildworld finished
On Mar 5, 2006, at 19:25, Olivier Nicole wrote: For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? I use nohup make buildworld xxx That saves the buildworld output in xxx. It does get fairly large and I seem to recall it ends by rebuilding the man indexes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to know that make buildworld finished
Hi, For testing purposes, I am trying to build a quite old (read slow) machine. It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? Sounds like you are ssh'ing in to the box and the ssh session is disconnected before morning? If so when you connect to the box run screen before you build world. Then in the morning you can reconnect to the same session after ssh'ing to the box with screen -rd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to know that make buildworld finished
in message [EMAIL PROTECTED], wrote Olivier Nicole thusly... It happens that every time I start a buildworld, I will have to leave before the end. And next morning the shell I was using to run the buildworld will have terminated for some reason. So I cannot see if the make did finished successfully or not. Is there a way to check that make buildworld did finished successfully? If you happen to be around near the end, you could get audio feedback by printf 'ON T201 O4 c#g#+f#-a.' /dev/speaker or some variation thereof. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]