Subject: | |
From: | |
Reply To: | |
Date: | Sat, 10 Dec 2011 17:17:46 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> 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 ....".
Perhaps an entry in /etc/rsyslog.conf to direct messages of the
desired type to /dev/tty11?
>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
That might run into problems when the messages log file rolls over.
- Bluejay Adametz, CFII, A&P, AA-5B N45210
Definition: Snuggage n. The act of retying both shoestrings when only
one needed it.
NOTICE: This message, including any attachments, is only for the use of
the intended recipient(s) and may contain confidential and privileged
information, or information otherwise protected from disclosure by law.
If the reader of this message is not the intended recipient, you are
hereby notified that any use, disclosure, copying, dissemination or
distribution of this message or any of its attachments is strictly
prohibited. If you received this message in error, please contact the
sender immediately by reply email and destroy this message, including all
attachments, and any copies thereof.
|
|
|