How to redirect kernel/console messages
Nupur
channu.j at gmail.com
Thu Dec 8 08:18:04 UTC 2005
On 12/8/05, Count Of Dracula <shahkomal80 at gmail.com> wrote:
>
>
>
>
> > Dear All,
> >
> > I have a querry here. I want to redirect the kernel messages to a
> > file. These kernel messages are a result of increasing verbosity of
> > some modules while compiling kernel.
> >
> > The methods I have tried to redirect the messages to a file are:
> > command > file.log
> > command > file.log 2>&1
> > command | tee file.log
> >
> > But somehow all of them failed. The messages are not logging in
> > /var/log/messages and cat be re-read by dmesg.
> >
> > Can you suggest me something else toredirect the messages to kernel?
> >
> > Thanks and regards,
> > --
> > Nupur
>
> man printk , man syslogd
>
> Regards,
>
> Dracula
>
Well tried that as well but did not help me much...
--
Nupur
More information about the redhat-list
mailing list