[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

How to redirect kernel/console messages



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]