The dmesg command is used to read all messages from kernel ring buffer. This information is very important to examine issues related to hardware or changes in hardware during runtime. You can get information as below.
# dmesg
To clear the current messages, you can use
# dmesg -c
More options can be obtained from
# man dmesg