You are not logged in.
The python2-systemd package seems broken on current version systemd-222/python2-systemd-221
I store my journal in runtime (set Storage=volatile in /etc/systemd/journald.conf), but python2-systemd can not read it, why?
from systemd import journal
r = journal.Reader(flags=journal.RUNTIME_ONLY)
print r.get_usage()
I tested this script on centos 7 and it works.
Offline