Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-28 Thread Lennart Poettering
On Wed, 14.01.15 09:05, Ben Greear (gree...@candelatech.com) wrote: I would like to grab the last 2000 or so system log lines after some event happens. I tried this on Fedora-20 (systemd version 208). It seems unreasonable slow: [root@ath10k lanforge]# time journalctl -n 2000

Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-19 Thread Ben Greear
Is there something else I can do to help you figure out how to fix this problem? Do you have a system with lots of logs to test on yourself? There is at least one Fedora/Redhat bug that is similar, but seems it was opened a long time ago and not much came of it. Thanks, Ben On 01/14/2015

Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-14 Thread Matthias Urlichs
Hi, Ben Greear: real0m25.618s user0m2.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