Re: Using journalctl

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

 



On 07/02/15 11:11, Alex wrote:
> Hi all,
>
> I've used journalctl to do some really basic things, but I'm trying to
> use it to view the former /var/log/maillog, and haven't been able to
> figure out how.
>
> I understand I can use it to search for a specific priority, but
> haven't figure out how to show only today's mail.* facility logs,
> using the short form hostname. I also understand you can view logs for
> a specific process or pid, but that's also not what I want.
>
> Ideas greatly appreciated. A FAQ or general usage doc would really be
> appreciated (beyond just the man page). It just seems like a lot more
> typing than just "tail -f /var/log/maillog" when that's all I need.
>

Assuming you're running sendmail, it sounds as if you may want....

journalctl -b 0 -u sendmail

or

journalctl -b 0 -r -u sendmail

And, there is the -f option, which is the same as tail's.

-- 
Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4
-- 
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