SCIENTIFIC-LINUX-USERS Archives

December 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 30 Dec 2011 18:02:41 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
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

{^_^}

ATOM RSS1 RSS2