Re: ontape -c
Posted in 1997
David Williams — — source: Informix-list mailing list archive (1991-1998)
In article <5h8sdk$edf@cssun.mathcs.emory.edu>, Steve Romankiw
<sromankiw@execrisk.com> writes
>We use ontape to do continuous log backups. On Sundays, we bring down
>the instance (onmode -yuk).
>This effectively knocks off all users so that we can perform system
>maintenance. Before the recycle occurs,
>I would like to gracefully stop ontape -c and trap the output generated
>by ontape.
>
>Any thoughts how I can mimick a "Ctrl/C" and capture the output?
>
kill -1 `ps -ef | grep ontape | awk '{ print $2}'` ?
when you start ontape start i
ontape... 2>&1 | tee <file> to also redirect output to a file as
well as the screen.
>Regards,
>Steve Romankiw
>Executive Risk Inc.
--
David Williams