How redirect console message to file

Colin van Niekerk Colin.vanNiekerk at mimecast.co.za
Wed Apr 22 21:01:30 UTC 2009


You could also redirect console messages using syslog.

A quick google of "send console messages to file with syslog" gave me this as the first answer:

http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/security-messages.html

seems to be quite descriptive and save me typing a whole lot in here :)

it may help you with what you are trying to achieve.

Colin

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of James Bourne
Sent: 21 April 2009 08:14 PM
To: redhat-sysadmin-list at redhat.com
Subject: Re: How redirect console message to file

On Tue, 21 Apr 2009, nitin.gizare at wipro.com wrote:

> Hello All ,
>
> I am looking at option where , how to redirect console message to file
> so that  I can capture all crash message which generally appear
>
> On console

Try looking at kexec-tools and using either netdump or diskdump to capture
not only the crash messages but also the kernel core.

Docs in the kexec-tools will tell you how to set it up.

Regards
James

> Nitin

-- 
James Bourne                  | Email:            jbourne at hardrock.org
UNIX Systems Administration   | WWW:           http://www.hardrock.org
Custom UNIX Programming       | Linux:  The choice of a GNU generation
----------------------------------------------------------------------
"All you need's  an occasional kick in  the philosophy." Frank Herbert
Need an inexpensive domain alternative?  http://fastforwarddomains.com

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list






More information about the redhat-sysadmin-list mailing list