Hi,

Ben Greear:
> > real        0m25.618s
> > user        0m2.361s
> > sys 0m23.197s
> > 
Something seems broken here. Do you have any old and/or inconsistent
journal files lying around?

> [root@ath9k-f ~]# time tail -2000 /var/log/messages > /tmp/foo.txt
> 
> real  0m0.005s
> user  0m0.002s
> sys   0m0.003s
> 
To be fair, journalctl is of course slower if you don't filter for
anything -- but the -nX case should be fast enough anyway.

$ time journalctl -n 2000 > /tmp/foo.txt

real    0m0.068s
user    0m0.056s
sys     0m0.008s

-- 
-- Matthias Urlichs
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to