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

Ben Greear greearb at candelatech.com
Wed Jan 14 09:05:46 PST 2015


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 at ath10k lanforge]# time journalctl -n 2000 > /tmp/foo.txt

real	0m25.618s
user	0m2.361s
sys	0m23.197s


Is there any way to configure things so that this is faster?

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the systemd-devel mailing list