LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get the info on booting ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-the-info-on-booting-4175576718/)

luofeiyu 04-05-2016 05:54 AM

How to get the info on booting ?
 
1 Attachment(s)
There are some info output when booting my os,maybe it is some kind of waring of error.
I want to get it and analyse it.


cat /var/log/syslog | grep 'fcitx'
journalctl -b -0 |grep 'fcitx'

The two commands can get nothing,how to get the info?

Ahowar22 04-05-2016 12:32 PM

I'm not really sure what you're asking; if you're searching for the log files, you should use find instead of grep(update the database first 'updatedb'). Anything more detailed you should edit your profile to include the distribution of Linux you're working with or put it in the post.

Emerson 04-05-2016 12:34 PM

Kernel messages go to dmesg.

suicidaleggroll 04-05-2016 12:36 PM

You haven't told us what distro you're using, but on many systems /var/log/messages will contain the kernel output on boot. dmesg will too, but I generally avoid it unless absolutely necessary since it's more of a pain to use.

Emerson 04-05-2016 12:56 PM

/var/log/messages has a mix of kernel messages and daemon messages, if that is what you need.

Is dmesg | less pain to type in?

suicidaleggroll 04-05-2016 01:57 PM

Quote:

Originally Posted by Emerson (Post 5526645)
Is dmesg | less pain to type in?

Not a pain to type in, a pain to use compared to opening /var/log/messages in a text editor. You lose syntax highlighting (compared to vim), line numbers, dmesg timestamps suck even with the -e flag, etc. All just my opinion of course.

syg00 04-05-2016 06:25 PM

Remove the work "quiet" from your kernel command line in your boot-loader.

luofeiyu 04-05-2016 08:51 PM

My os is : debian8+lxde

selenaz 04-06-2016 01:46 AM

info on booting
 
the person who knows networking or you can see videos from YouTube regarding booting


All times are GMT -5. The time now is 04:03 PM.