On 18.01.2014 03:34, Adam Williamson wrote:
On Fri, 2014-01-17 at 08:57 -0500, Steve Dickson wrote:

On 17/01/14 07:30, Harald Hoyer wrote:
journalctl -b _SYSTEMD_UNIT=NetworkManager.service
better use

# journalctl -b -u NetworkManager

"-u" has the advantage, that you can specify it multiple times with different
units and get a combined output.

Good go know... thanks!

How long has that parameter been in systemd now, Harald? Is it safe to
suggest it for all supported Fedoras (F19, F20, Rawhide) at least?
Thanks!


-u works since systemd versions shipped with F18. Woth F19:

[root@hpos2 ~]# rpm -qf $(which journalctl)
systemd-204-18.fc19.x86_64

[root@hpos2 ~]# journalctl -u /var/lib/libvirt/qemu/save --since '-1 month'
-- Logs begin at Thu 2013-03-21 02:04:44 EET, end at Sat 2014-01-18 14:51:07 EET. -- Jan 08 10:51:39 hpos2.posnet.sofia-airport.bg systemd[1]: Unmounting libvirt vms save space... Jan 08 10:51:40 hpos2.posnet.sofia-airport.bg systemd[1]: Unmounted libvirt vms save space.
-- Reboot --
Jan 08 11:09:14 hpos2.posnet.sofia-airport.bg systemd[1]: Mounting libvirt vms save space... Jan 08 11:09:14 hpos2.posnet.sofia-airport.bg systemd[1]: Mounted libvirt vms save space.

Kind regards,
Alek

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to