Re: How avoid unwanted systemd-journald?

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

 



On Mon, Nov 18, 2013 at 05:29:27PM +0000, Tom H wrote:
> On Mon, Nov 18, 2013 at 4:41 PM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> > On Mon, Nov 18, 2013 at 03:43:57PM +0000, Tom H wrote:
> >> On Mon, Nov 18, 2013 at 3:14 PM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> >>>
> >>> I have been very frustrated with journalctl. The manual page is very
> >>> unhelpful in that regard. For example 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. Could you give some pointers how I can do that? I
> >>> would be very grateful.
> >>
> >> Perhaps "journalctl _KERNEL_SUBSYSTEM=<subsystem>"
> >>
> >> acpi for power?
> >
> > That does filter the output, but not the messages I was looking for.
> > Looking at /var/log/messages tells me the lines should be something like
> > this:
> >
> > kernel: [381990.959785] CPU3: Core temperature above threshold, cpu clock throttled (total events = 38)
> >
> > But I still can't find where it says shutting down. Anyway, what
> > subsystem is the above? Also how can I limit it to kernel messages from
> > all subsystems?
> >
> > Thanks for your response,
> 
> You're welcome.
> 
> "acpi" had been a guess!
> 
> I scratched my head, read the journalctl man page, and found "-F":
> 
> # journalctl -F _KERNEL_SUBSYSTEM
> platform
> scsi
> pnp
> pci
> pci_bus
> acpi

On my laptop I have a few more:

  $ journalctl -F _KERNEL_SUBSYSTEM
  ieee80211
  serio
  scsi
  pnp
  pci
  pci_bus
  acpi
  hid
  usb
  thermal

`thermal' does the trick :-p.

  $ journalctl -r _KERNEL_SUBSYSTEM=thermal
  -- Logs begin at Fri 2013-09-20 23:52:53 CEST, end at Tue 2013-11-19 00:45:01 CET. --
  Nov 14 10:08:54 kuru.dyndns-at-home.com kernel: thermal thermal_zone0: critical temperature reached(100 C),shutting down
  Nov 14 10:08:54 kuru.dyndns-at-home.com kernel: thermal thermal_zone0: critical temperature reached(100 C),shutting down
  -- Reboot --
  Nov 14 09:56:17 kuru.dyndns-at-home.com kernel: thermal thermal_zone0: critical temperature reached(100 C),shutting down
  Nov 14 09:56:17 kuru.dyndns-at-home.com kernel: thermal thermal_zone0: critical temperature reached(100 C),shutting down

Wallah!

-- 
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