How to redirect kernel/console messages

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

 



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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux