Re: How avoid unwanted systemd-journald?

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

 



On Mon, Nov 18, 2013 at 07:44:55PM +0200, Joonas Sarajärvi wrote:
> Sorry for posting again so soon and replying to myself, but I just
> noticed one very useful thing that might help quite much in the
> specific problem you described:
> 
> 2013/11/18 Joonas Sarajärvi <muep@xxxxxx>:
> > 2013/11/18 Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx>:
> >> the other day, I wanted to
> >> investigate why my laptop shutdown suddenly (I think it was
> >> overheating), but there was no reasonable way for me to filter the cpu
> >> specific messages.
> > I am not sure where that message in particular would show up.
> 
> Likely you would not want to look for a specific subsystem anyway
> Often there are many things in the system interacting and it is nicer
> to look at the whole log in the correct point in time. One nice filter
> criteria is to filter by boot id with the --boot option of journalctl
> 
> journalctl --boot
> 
> The above would show just the messages that were gathered during the
> currently ongoing boot cycle. Now if you want messages of the previous
> boot, --boot allows you to specify an offset. So if you pass -1 there
> like this, it would show you messages from the previous boot cycle:
> journalctl --boot=-1

I had seen that option, but could not figure out how do I get a boot id.
Now that I know it is an offset, it will be very useful indeed.

> In some cases like a kernel panic, you will likely not have the kernel
> panic message in the log. This is because usually at the point where
> the kernel has the message, it will not write anything to disk
> anymore. If there is nothing interesting in the end of that boot, you
> should also check if the following boot has a note about the journal
> being rotated due to not being properly closed. This would at least
> let you know that you miss some messages.

Again, very good suggestion!  Thanks a lot.

I have to say something though.  Somehow I feel most of Lennart
Poettering's projects (systemd, pulseaudio) have terribly impenetrable
documentation.  When reading them it feels like it is meant for other
developers littered with developer jargon.  And I'm no stranger to *nix
docs; I know my way around `man bash', for example.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux