[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Console Messages
- From: Rick Stevens <rstevens vitalstream com>
- To: redhat-install-list redhat com
- Subject: Re: Console Messages
- Date: Thu, 02 May 2002 15:28:54 -0700
David Stroupe wrote:
I am running a RH7.2 installation. I am doing driver developement and
would like to view the (sometimes) useful prink messages from the driver
in real time without having to type dmesg. Is there a way to do this?
There is a commented-out line in /etc/syslog.conf that looks like:
#kern.* /dev/console
If uncommented, it would spit all kernel messages onto the console.
If you modify it to:
kern.* /var/log/name-of-printk-messages-file
then "kill -HUP `pidof syslogd`", kernel messages would end up in
the named file which you can watch with "tail -f" rather than the
console.
When you're all done, don't forget to comment out the line and send
the SIGHUP back to syslogd so the file doesn't grow too big. Keep in
mind that the normal log rotation scripts won't know about your new
file, so they won't be processed by it.
----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc. rstevens vitalstream com -
- 949-743-2010 (Voice) http://www.vitalstream.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]