The start-up kernel messages in the Linux system comes like a burst and it is difficult to analyze those messages while the system boots up. However, after the operating system is loaded, you can view those messages with ‘dmesg’ command. This command will display the messages of the last time boot. Check the command as follows:
The ‘less’ command after the pipe will display the file in the window with easy scroll both up and downwards. This is just opposite to ‘more’ where you cannot scroll. Sample of the command output is shown below:
Please note that ‘dmesg’ will only show the status of the modules when they are initialized, however, if you want to view the configuration and status data of that particular module, you still need to view ‘/var/log/messages’ file. When debugging the system startup problems, you’ll have to view both ‘dmesg’ and ‘/var/log/messages’.
Adnan Khurshid
Adnan Khurshid, the author of this article, has been working in a telecommunication sector since 2007. He has worked there as a VAS (Value Added Services) engineer and has excelled remarkably in the field. Working in this field has been his passion and he has always made efforts to keep himself up to date. Find more about him on LinkedIn
[…] The ‘less’ command after the vasfeeds.com […]