How to redirect kernel/console messages
Nupur
channu.j at gmail.com
Thu Dec 8 07:21:48 UTC 2005
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
More information about the redhat-list
mailing list