Re: rsyslog

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

 




On Mar 6, 2015 8:09 AM, "Tim" <ignored_mailbox@xxxxxxxxxxxx> wrote:
>
>
> On Wed, 2015-03-04 at 12:04 -0700, Pete Travis wrote:
> > If you're open to typing a different command to access logs, here are
> > a few you might find interesting:
>
> Only the other day, I wanted to see what the NTP client, or whatever it
> is called now, was up to.  I couldn't find an easy way to do what would
> have been grep -i ntp /var/log/message.  Sure, I could do that on the
> output of journalctl, but it takes ages to pour through the amount of
> data it's kept.
>
> No, the man page wasn't particularly enlightening.
>
> --
>

The default ntp client since Fedora 16 is chrony, the chronyd service.  a `journalctl -b|grep ntp ` would probably match some chrony activity, and once you learn from that or documentation what the service is actually called, you can do `journalctl -u chronyd -otherfilters`.
Also, just like with less or vim, you can press '/' in parsed log output then type a string to search for.

No, the journalctl man page does not tell you about ntp logs, nor do the rsyslog pages explain grep :)

--Pete

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