On 2011/12/10 12:54, Mark Stodola wrote:
On 12/10/2011 1:49 PM, Andrew Z wrote:
gys,
how can i send the /var/log/messages on a designated terminal?
i remember some many years ago i saw on of SAs having messages file to 11 or
10 terminal from the moment machine booted. The gain - they just switch to it
instead of typing "tail ....".

Hope makes sence and thank you in advance.
Andrew
I don't practice this myself, but I suspect an entry in /etc/inittab like this
would suffice:
tty11::respawn:/usr/bin/tail -f /var/log/messages

-Mark

In the dark ancient past I discovered these two options helped get through
log rotations:  --retry --max-unchanged-stats=5

{^_^}

Reply via email to